Correct dir placement...?

This commit is contained in:
yairm210 2024-07-28 17:56:43 +03:00
parent 267b76ea63
commit 3d87b2c0fd
2 changed files with 5 additions and 2 deletions

View File

@ -231,7 +231,7 @@ jobs:
uses: microsoft/setup-msbuild@v2
- name: Unzip unciv file
run: | # The relative folders in wxs files are relative to the file itself
run: |
mkdir .github/workflows/wix-msi-files
tar -xf Unciv-Windows64.zip -C .github/workflows/wix-msi-files
dir .github/workflows/wix-msi-files

View File

@ -20,12 +20,15 @@
<File Id="UncivExe"
KeyPath="yes"
Checksum="yes"
Source="wix-msi-files/Unciv.exe">
Source=".github/workflows/wix-msi-files/Unciv.exe">
<!-- Annoyingly the relative locations are not the same.0
THIS source is relative to the current working dir.... -->
</File>
</Component>
</DirectoryRef>
<ComponentGroup Id="UncivFiles" Directory="INSTALLFOLDER">
<!-- But THIS source is relative to the exs file location!!! -->
<Files Include="wix-msi-files\**" />
</ComponentGroup>