From bc665e0f1ed92bea3eda8a256734c2bacae04350 Mon Sep 17 00:00:00 2001 From: NewBit <37043777+newbit1@users.noreply.github.com> Date: Thu, 3 Mar 2022 13:47:24 +0100 Subject: [PATCH] fix missing quotes fix missing quotes to make script work under windows with spaces in the folder path #21 --- rootAVD.bat | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/rootAVD.bat b/rootAVD.bat index c2dc70b..bf0fce7 100644 --- a/rootAVD.bat +++ b/rootAVD.bat @@ -85,7 +85,7 @@ adb shell rm -rf %ADBBASEDIR% echo [*] Creating the ADB working space adb shell mkdir %ADBBASEDIR% -call :pushtoAVD %MAGISKZIP% +call :pushtoAVD "%MAGISKZIP%" REM Proceed with ramdisk set INITRAMFS=%ROOTAVD%\initramfs.img if %RAMDISKIMG% ( @@ -95,11 +95,11 @@ if %RAMDISKIMG% ( call :_Exit 2> nul ) call :create_backup %RDFFILE% - call :pushtoAVD %AVDPATHWITHRDFFILE% + call :pushtoAVD "%AVDPATHWITHRDFFILE%" if %InstallKernelModules% ( if exist "%INITRAMFS%" ( - call :pushtoAVD %INITRAMFS% + call :pushtoAVD "%INITRAMFS%" ) ) )