From 01cf954c23894edb8b23c8d6e79c007cab0de459 Mon Sep 17 00:00:00 2001 From: maksz42 <48691053+maksz42@users.noreply.github.com> Date: Fri, 6 Oct 2023 13:22:31 +0200 Subject: [PATCH] Update Windows helper script to handle /c properly. (#2973) --- scripts/windows/apktool.bat | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/windows/apktool.bat b/scripts/windows/apktool.bat index 08adf635..ee2d4da3 100755 --- a/scripts/windows/apktool.bat +++ b/scripts/windows/apktool.bat @@ -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