Update Windows helper script to handle /c properly. (#2973)

This commit is contained in:
maksz42 2023-10-06 13:22:31 +02:00 committed by GitHub
parent 959b6de063
commit 01cf954c23
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -39,4 +39,4 @@ if "%ATTR:~0,1%"=="-" if "%~x1"==".apk" (
"%java_exe%" -jar -Xmx1024M -Duser.language=en -Dfile.encoding=UTF8 -Djdk.util.zip.disableZip64ExtraFieldValidation=true -Djdk.nio.zipfs.allowDotZipEntry=true "%~dp0%BASENAME%%max%.jar" %fastCommand% %*
rem Pause when ran non interactively
for /f "tokens=2" %%# in ("%cmdcmdline%") do if /i "%%#" equ "/c" pause
for %%i in (%cmdcmdline%) do if /i "%%~i"=="/c" pause & exit /b