scripts: not hardcode MSYSTEM (#1739)

This commit is contained in:
Takase
2024-03-23 20:28:31 +08:00
committed by takase1121
parent ddf08de1d4
commit 5296f8de4b
4 changed files with 45 additions and 20 deletions
+9 -5
View File
@@ -26,12 +26,16 @@ AppPublisherURL={#MyAppURL}
AppSupportURL={#MyAppURL}
AppUpdatesURL={#MyAppURL}
#if Arch=="x64"
ArchitecturesAllowed=x64
ArchitecturesInstallIn64BitMode=x64
#define ArchInternal "x86_64"
#else
#if Arch=="x86"
#define ArchInternal "i686"
#else
ArchitecturesAllowed={#Arch}
ArchitecturesInstallIn64BitMode={#Arch}
#if Arch=="x64"
#define ArchInternal "x86_64"
#elif Arch=="arm64"
#define ArchInternal "aarch64"
#endif
#endif
AllowNoIcons=yes