File tree Expand file tree Collapse file tree 2 files changed +25
-3
lines changed
Expand file tree Collapse file tree 2 files changed +25
-3
lines changed Original file line number Diff line number Diff line change 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
Original file line number Diff line number Diff line change 3030 <ComponentRef Id =" StartMenuShortcut" />
3131 <ComponentGroupRef Id =" AssetsDirectory" />
3232 <ComponentGroupRef Id =" CreditsDirectory" />
33+ <ComponentGroupRef Id =" ScriptsDirectory" />
3334 </Feature >
3435
3536 <!-- Installs the actual files -->
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" >
You can’t perform that action at this time.
0 commit comments