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
|
||||
Copy-Item -Recurse -Verbose syng work/install/syng
|
||||
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 syng/static/background.png work/install/
|
||||
Copy-Item -Verbose syng/static/background20perc.png work/install/
|
||||
|
@ -94,9 +93,12 @@ jobs:
|
|||
uses: microsoft/setup-msbuild@v2
|
||||
- name: Install 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
|
||||
run: wix build .\syng.wxs
|
||||
working-directory: ./work/install
|
||||
working-directory: ./work/install/dist
|
||||
|
||||
|
||||
# - name: Upload artifact (portable)
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
<StandardDirectory Id="ProgramFilesFolder">
|
||||
<Directory Id="INSTALLFOLDER" Name="syng">
|
||||
<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"
|
||||
Directory="ProgramMenuDir"
|
||||
Name="syng"
|
||||
|
@ -28,7 +28,7 @@
|
|||
IconIndex="0"
|
||||
Advertise="yes" />
|
||||
</Component>
|
||||
<Directory Name="data" SourceName="dist\syng\data" >
|
||||
<Directory Name="data">
|
||||
<Files Include="**">
|
||||
</Files>
|
||||
</Directory>
|
||||
|
|
Loading…
Add table
Reference in a new issue