Skip to content

Commit

Permalink
Fix mod shortcuts for the Windows Installer.
Browse files Browse the repository at this point in the history
  • Loading branch information
cybersphinx committed Nov 15, 2010
1 parent 82b360c commit 7709d68
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pkg/nsis/warzone2100.nsi
Expand Up @@ -266,7 +266,7 @@ Section $(TEXT_SecDyDoAIMod) SecDyDoAIMod
SetOutPath "$INSTDIR"

!insertmacro MUI_STARTMENU_WRITE_BEGIN "Application"
CreateShortCut "$SMPROGRAMS\$STARTMENU_FOLDER\${PACKAGE_NAME} - DyDo-AI.lnk" "$INSTDIR\${PACKAGE}.exe" "--mod_mp dydo-ai.wz"
CreateShortCut "$SMPROGRAMS\$STARTMENU_FOLDER\${PACKAGE_NAME} - DyDo-AI.lnk" "$INSTDIR\${PACKAGE}.exe" "--mod_mp=dydo-ai.wz"
!insertmacro MUI_STARTMENU_WRITE_END

SectionEnd
Expand All @@ -280,7 +280,7 @@ Section $(TEXT_SecNTWMod) SecNTWMod
SetOutPath "$INSTDIR"

!insertmacro MUI_STARTMENU_WRITE_BEGIN "Application"
CreateShortCut "$SMPROGRAMS\$STARTMENU_FOLDER\${PACKAGE_NAME} - NTW.lnk" "$INSTDIR\${PACKAGE}.exe" "--mod_mp ntw.wz"
CreateShortCut "$SMPROGRAMS\$STARTMENU_FOLDER\${PACKAGE_NAME} - NTW.lnk" "$INSTDIR\${PACKAGE}.exe" "--mod_mp=ntw.wz"
!insertmacro MUI_STARTMENU_WRITE_END

SectionEnd
Expand All @@ -292,7 +292,7 @@ Section $(TEXT_SecOriginalMod) SecOriginalMod
SetOutPath "$INSTDIR"

!insertmacro MUI_STARTMENU_WRITE_BEGIN "Application"
CreateShortCut "$SMPROGRAMS\$STARTMENU_FOLDER\${PACKAGE_NAME} - Old 1.10 Balance.lnk" "$INSTDIR\${PACKAGE}.exe" "--mod_mp old-1.10-balance.wz"
CreateShortCut "$SMPROGRAMS\$STARTMENU_FOLDER\${PACKAGE_NAME} - Old 1.10 Balance.lnk" "$INSTDIR\${PACKAGE}.exe" "--mod_mp=old-1.10-balance.wz"
!insertmacro MUI_STARTMENU_WRITE_END

SectionEnd
Expand Down

0 comments on commit 7709d68

Please sign in to comment.