mirror of
https://gitea.wildfiregames.com/0ad/0ad.git
synced 2026-06-21 01:04:06 +00:00
Fix install and Start Menu folder names on Windows
Those cannot end with a period. Reviewed-At: https://gitea.wildfiregames.com/0ad/0ad/pulls/8476
This commit is contained in:
Vendored
+3
-3
@@ -26,8 +26,8 @@
|
||||
OutFile "${PREFIX}-${WINARCH}.exe"
|
||||
|
||||
;Default installation folder
|
||||
InstallDir "$LOCALAPPDATA\0 A.D."
|
||||
; NOTE: we can't use folder names ending in "." because they seemingly get stripped
|
||||
InstallDir "$LOCALAPPDATA\0 A.D. Empires Ascendant"
|
||||
; NOTE: "0 A.D." doesn't work as a folder/start menu folder name, the final dot gets stripped.
|
||||
|
||||
;Get installation folder from registry if available
|
||||
InstallDirRegKey HKCU "Software\0 A.D." ""
|
||||
@@ -68,7 +68,7 @@
|
||||
!define MUI_STARTMENUPAGE_REGISTRY_ROOT "HKCU"
|
||||
!define MUI_STARTMENUPAGE_REGISTRY_KEY "Software\0 A.D."
|
||||
!define MUI_STARTMENUPAGE_REGISTRY_VALUENAME "Start Menu Folder"
|
||||
!define MUI_STARTMENUPAGE_DEFAULTFOLDER "0 A.D."
|
||||
!define MUI_STARTMENUPAGE_DEFAULTFOLDER "0 A.D. Empires Ascendant"
|
||||
|
||||
!insertmacro MUI_PAGE_STARTMENU Application $StartMenuFolder
|
||||
|
||||
|
||||
Reference in New Issue
Block a user