Fix packaged startup on windows and osx.

This commit is contained in:
Paul Chote
2010-08-24 19:51:24 +12:00
parent c3b3947b9d
commit 825743b225
2 changed files with 3 additions and 3 deletions

View File

@@ -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=$?

View File

@@ -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