mirror of
https://github.com/YACReader/yacreader
synced 2025-05-28 03:10:27 -04:00
Remove x64 specifics if we are building a x86 installer
This commit is contained in:
parent
0e5eb82ed6
commit
b4c50ad0b4
@ -50,6 +50,11 @@ set /p VERSION= < tmp
|
||||
set VERSION=%VERSION:#define VERSION "=%
|
||||
set VERSION=%VERSION:"=%
|
||||
echo %VERSION%
|
||||
del
|
||||
|
||||
if "%1"=="x86" (
|
||||
type build_installer.iss | findstr /v ArchitecturesInstallIn64BitMode | findstr /v ArchitecturesAllowed > build_installer.iss
|
||||
)
|
||||
|
||||
iscc /DVERSION=%VERSION% /DPLATFORM=%1 /DCOMPRESSED_ARCHIVE_BACKEND=%2 build_installer.iss
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user