Skip to content

Commit 5b2a41b

Browse files
authored
Merge pull request #394 from chrisbra/nsis-fix
Fix ARM64/WIN64 logic and simplify it
2 parents 4ee29d0 + 7f3a796 commit 5b2a41b

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

appveyor.bat

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -539,13 +539,11 @@ mklink /J vim\runtime\GvimExt vim\src\GvimExt
539539

540540
pushd vim\nsis
541541

542-
if /I "%ARCH%"=="x64" (
543-
set WIN64=1
544-
if /I "%PLATFORM%"=="arm64" set ARM64=1
545-
) else (
546-
set WIN64=0
547-
set ARM64=0
548-
)
542+
set WIN64=0
543+
set ARM64=0
544+
545+
if /I "%ARCH%"=="x64" set WIN64=1
546+
if /I "%PLATFORM%"=="arm64" set ARM64=1
549547

550548
nmake.exe -lf Make_mvc.mak "X=OutFile ..\..\gvim_%VER_NUM%_%CUSTOM%.exe" ^
551549
"GETTEXT=%DEPENDENCIES%" "VIMSRC=..\runtime" "VIMRT=..\runtime" ^

0 commit comments

Comments
 (0)