Skip to content

Commit 214a72d

Browse files
committed
still fixing release automation
1 parent 36eb3c5 commit 214a72d

File tree

2 files changed

+25
-3
lines changed

2 files changed

+25
-3
lines changed

.github/workflows/release.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,9 +63,9 @@ jobs:
6363
- name: Create release
6464
run: |
6565
mkdir -p build/macos/src/Game.app/Contents/MacOS/assets
66-
cp -r assets/ build/macos/src/Game.app/Contents/MacOS/assets
67-
cp -r credits/ build/macos/src/Game.app/Contents/MacOS/credits
68-
cp -r scripts/ build/macos/src/Game.app/Contents/MacOS/scripts
66+
cp -r assets build/macos/src/Game.app/Contents/MacOS/
67+
cp -r credits build/macos/src/Game.app/Contents/MacOS/
68+
cp -r scripts build/macos/src/Game.app/Contents/MacOS/
6969
cp target/release/${{ env.GAME_EXECUTABLE_NAME }} build/macos/src/Game.app/Contents/MacOS/
7070
strip build/macos/src/Game.app/Contents/MacOS/${{ env.GAME_EXECUTABLE_NAME }}
7171
mv build/macos/src/Game.app build/macos/src/${{ env.GAME_OSX_APP_NAME }}.app

build/windows/installer/Package.wxs

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@
3030
<ComponentRef Id="StartMenuShortcut" />
3131
<ComponentGroupRef Id="AssetsDirectory" />
3232
<ComponentGroupRef Id="CreditsDirectory" />
33+
<ComponentGroupRef Id="ScriptsDirectory" />
3334
</Feature>
3435

3536
<!-- Installs the actual files -->
@@ -39,6 +40,27 @@
3940
</Component>
4041
</ComponentGroup>
4142

43+
<!-- Assets Directory -->
44+
<ComponentGroup Id="AssetsDirectory" Directory="INSTALLFOLDER">
45+
<Component>
46+
<File Source="..\..\..\target\assets\*" />
47+
</Component>
48+
</ComponentGroup>
49+
50+
<!-- Credits Directory -->
51+
<ComponentGroup Id="CreditsDirectory" Directory="INSTALLFOLDER">
52+
<Component>
53+
<File Source="..\..\..\target\credits\*" />
54+
</Component>
55+
</ComponentGroup>
56+
57+
<!-- Scripts Directory -->
58+
<ComponentGroup Id="CreditsDirectory" Directory="INSTALLFOLDER">
59+
<Component>
60+
<File Source="..\..\..\target\scripts\*" />
61+
</Component>
62+
</ComponentGroup>
63+
4264
<!-- Start menu shortcut -->
4365
<!-- Source: https://wixtoolset.org/docs/v3/howtos/files_and_registry/create_start_menu_shortcut/ -->
4466
<StandardDirectory Id="ProgramMenuFolder">

0 commit comments

Comments
 (0)