Skip to content

Commit

Permalink
Windows: rename client shortcuts to "Freeciv21"
Browse files Browse the repository at this point in the history
Since this is the main entry point for the game, just use the game name.
  • Loading branch information
lmoureaux committed Jan 22, 2024
1 parent 9f9627a commit 3b3153b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cmake/NSIS.template.in
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@
FunctionEnd

Function RunFreeciv21
ExecShell "" "$SMPROGRAMS\${APPNAME}\${APPNAME} Client.lnk"
ExecShell "" "$SMPROGRAMS\${APPNAME}\${APPNAME}.lnk"
FunctionEnd

Function UninstallExisting
Expand All @@ -224,11 +224,11 @@


; Create Desktop Icon
CreateShortCut "$DESKTOP\${APPNAME} Client.lnk" "$INSTDIR\freeciv21-client.exe" "" "$INSTDIR\freeciv21-client.ico" 0
CreateShortCut "$DESKTOP\${APPNAME}.lnk" "$INSTDIR\freeciv21-client.exe" "" "$INSTDIR\freeciv21-client.ico" 0

; Create Start Menu Entries
CreateDirectory "$SMPROGRAMS\${APPNAME}"
CreateShortCut "$SMPROGRAMS\${APPNAME}\${APPNAME} Client.lnk" "$INSTDIR\freeciv21-client.exe" "" "$INSTDIR\freeciv21-client.ico" 0
CreateShortCut "$SMPROGRAMS\${APPNAME}\${APPNAME}.lnk" "$INSTDIR\freeciv21-client.exe" "" "$INSTDIR\freeciv21-client.ico" 0
CreateShortCut "$SMPROGRAMS\${APPNAME}\${APPNAME} Modpack Installer.lnk" "$INSTDIR\freeciv21-modpack-qt.exe" "" "$INSTDIR\freeciv21-modpack.ico" 0
CreateShortCut "$SMPROGRAMS\${APPNAME}\${APPNAME} Server.lnk" "$INSTDIR\freeciv21-server.exe" "" "$INSTDIR\freeciv21-server.ico" 0

Expand Down

0 comments on commit 3b3153b

Please sign in to comment.