Move wxs file to dist folder
This commit is contained in:
parent
0f675a22ad
commit
d7021a934a
2 changed files with 6 additions and 4 deletions
6
.github/workflows/windows.yaml
vendored
6
.github/workflows/windows.yaml
vendored
|
@ -53,7 +53,6 @@ jobs:
|
||||||
mkdir work/install
|
mkdir work/install
|
||||||
Copy-Item -Recurse -Verbose syng work/install/syng
|
Copy-Item -Recurse -Verbose syng work/install/syng
|
||||||
Copy-Item -Verbose requirements-client.txt work/install/requirements.txt
|
Copy-Item -Verbose requirements-client.txt work/install/requirements.txt
|
||||||
Copy-Item -Verbose resources/windows/syng.wxs work/install/syng.wxs
|
|
||||||
Copy-Item -Verbose resources/icons/syng.ico work/install/
|
Copy-Item -Verbose resources/icons/syng.ico work/install/
|
||||||
Copy-Item -Verbose syng/static/background.png work/install/
|
Copy-Item -Verbose syng/static/background.png work/install/
|
||||||
Copy-Item -Verbose syng/static/background20perc.png work/install/
|
Copy-Item -Verbose syng/static/background20perc.png work/install/
|
||||||
|
@ -94,9 +93,12 @@ jobs:
|
||||||
uses: microsoft/setup-msbuild@v2
|
uses: microsoft/setup-msbuild@v2
|
||||||
- name: Install WiX
|
- name: Install WiX
|
||||||
run: dotnet tool install --global wix
|
run: dotnet tool install --global wix
|
||||||
|
- name: Copy wix file to dist
|
||||||
|
run:
|
||||||
|
Copy-Item -Verbose resources/windows/syng.wxs work/install/dist/syng.wxs
|
||||||
- name: Build WiX on Windows
|
- name: Build WiX on Windows
|
||||||
run: wix build .\syng.wxs
|
run: wix build .\syng.wxs
|
||||||
working-directory: ./work/install
|
working-directory: ./work/install/dist
|
||||||
|
|
||||||
|
|
||||||
# - name: Upload artifact (portable)
|
# - name: Upload artifact (portable)
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
<StandardDirectory Id="ProgramFilesFolder">
|
<StandardDirectory Id="ProgramFilesFolder">
|
||||||
<Directory Id="INSTALLFOLDER" Name="syng">
|
<Directory Id="INSTALLFOLDER" Name="syng">
|
||||||
<Component Id="ProductComponent">
|
<Component Id="ProductComponent">
|
||||||
<File KeyPath="yes" Source="dist\syng\syng.exe" Name="syng.exe"></File>
|
<File KeyPath="yes" Source="syng\syng.exe" Name="syng.exe"></File>
|
||||||
<Shortcut Id="startmenuShortcut"
|
<Shortcut Id="startmenuShortcut"
|
||||||
Directory="ProgramMenuDir"
|
Directory="ProgramMenuDir"
|
||||||
Name="syng"
|
Name="syng"
|
||||||
|
@ -28,7 +28,7 @@
|
||||||
IconIndex="0"
|
IconIndex="0"
|
||||||
Advertise="yes" />
|
Advertise="yes" />
|
||||||
</Component>
|
</Component>
|
||||||
<Directory Name="data" SourceName="dist\syng\data" >
|
<Directory Name="data">
|
||||||
<Files Include="**">
|
<Files Include="**">
|
||||||
</Files>
|
</Files>
|
||||||
</Directory>
|
</Directory>
|
||||||
|
|
Loading…
Add table
Reference in a new issue