Fix packaged startup on windows and osx.
This commit is contained in:
@@ -75,7 +75,7 @@ fi
|
||||
|
||||
# Run the game
|
||||
cd "${GAME_PATH}"
|
||||
"${EXE_PATH}"mono --debug "OpenRA.Game.exe" InitialMods=$MOD SupportDir=~/Library/"Application Support"/OpenRA
|
||||
"${EXE_PATH}"mono --debug "OpenRA.Game.exe" Game.Mods=$MOD SupportDir=~/Library/"Application Support"/OpenRA
|
||||
|
||||
# Did we crash?
|
||||
STATUS=$?
|
||||
|
||||
@@ -66,9 +66,9 @@ Section "Client" Client
|
||||
|
||||
!insertmacro MUI_STARTMENU_WRITE_BEGIN Application
|
||||
CreateDirectory "$SMPROGRAMS\$StartMenuFolder"
|
||||
CreateShortCut "$SMPROGRAMS\$StartMenuFolder\OpenRA - Red Alert.lnk" $OUTDIR\OpenRA.Game.exe "InitialMods=ra" \
|
||||
CreateShortCut "$SMPROGRAMS\$StartMenuFolder\OpenRA - Red Alert.lnk" $OUTDIR\OpenRA.Game.exe "Game.Mods=ra" \
|
||||
"$OUTDIR\OpenRA.ico" "" "" "" ""
|
||||
CreateShortCut "$SMPROGRAMS\$StartMenuFolder\OpenRA - Command & Conquer.lnk" $OUTDIR\OpenRA.Game.exe "InitialMods=cnc" \
|
||||
CreateShortCut "$SMPROGRAMS\$StartMenuFolder\OpenRA - Command & Conquer.lnk" $OUTDIR\OpenRA.Game.exe "Game.Mods=cnc" \
|
||||
"$OUTDIR\OpenRA.ico" "" "" "" ""
|
||||
!insertmacro MUI_STARTMENU_WRITE_END
|
||||
|
||||
|
||||
Reference in New Issue
Block a user