Fixed another space issue

This commit is contained in:
newbit
2023-11-26 22:29:54 +01:00
parent d767d936b9
commit 37f04576cb
2 changed files with 21 additions and 8 deletions
+8 -5
View File
@@ -22,19 +22,19 @@ A Script to...
* `adb shell` will connect to the running AVD
### Use Case Examples
#### on MacOS
<img src="https://gitlab.com/newbit/video-files/-/raw/master/rootAVD_MacOS.gif" width="50%" height="50%"/>
<img src="https://gitlab.com/newbit/video-files/-/blob/master/rootAVD_MacOS.gif" width="50%" height="50%"/>
#### BlueStacks 4 on MacOS
<img src="https://gitlab.com/newbit/video-files/-/raw/master/rootAVD_MacOS_BlueStacks.gif" width="50%" height="50%"/>
<img src="https://gitlab.com/newbit/video-files/-/blob/master/rootAVD_MacOS_BlueStacks.gif" width="50%" height="50%"/>
#### on Windows
<img src="https://gitlab.com/newbit/video-files/-/raw/master/rootAVD_Windows.gif" width="50%" height="50%"/>
<img src="https://gitlab.com/newbit/video-files/-/blob/master/rootAVD_Windows.gif" width="50%" height="50%"/>
#### on Linux
<img src="https://gitlab.com/newbit/video-files/-/raw/master/rootAVD_Linux.gif" width="50%" height="50%"/>
<img src="https://gitlab.com/newbit/video-files/-/blob/master/rootAVD_Linux.gif" width="50%" height="50%"/>
#### Fake Boot.img on MacOS
<img src="https://gitlab.com/newbit/video-files/-/raw/master/rootAVD_MacOS_FAKEBOOTIMG.gif" width="50%" height="50%"/>
<img src="https://gitlab.com/newbit/video-files/-/blob/master/rootAVD_MacOS_FAKEBOOTIMG.gif" width="50%" height="50%"/>
### How to Install ADB (Android SDK Platform-Tools)
* Open Android Studio -> SDK Manager -> Android SDK -> SDK Tools -> Check on **Android SDK Platform-Tools** -> Apply
@@ -373,6 +373,9 @@ rootAVD.bat system-images\android-25\google_apis_playstore\armeabi-v7a\ramdisk.i
### Change Logs
#### [Novemver 2023]
* [rootAVD.bat] - Fixed another space issue
#### [October 2023]
* [General] - Moved to GitLab
+13 -3
View File
@@ -137,11 +137,11 @@ IF "%ERRORLEVEL%"=="0" (
IF NOT %DEBUG% (
IF %RAMDISKIMG% (
call :pullfromAVD ramdiskpatched4AVD.img "%AVDPATHWITHRDFFILE%"
call :pullfromAVD Magisk.apk %ROOTAVD%\Apps\
call :pullfromAVD Magisk.apk "%ROOTAVD%" Apps
call :pullfromAVD Magisk.zip
IF %InstallPrebuiltKernelModules% (
call :pullfromAVD %BZFILE%
call :pullfromAVD "%BZFILE%"
call :InstallKernelModules
)
@@ -215,6 +215,7 @@ exit /B 0
SetLocal EnableDelayedExpansion
set SRC=%1
set DST=%2
set DST2=%3
set ADBPULLECHO=
setlocal enableDelayedExpansion
@@ -229,7 +230,16 @@ exit /B 0
set "DST=%%~nxi"
)
adb pull %ADBBASEDIR%/%SRC% %2 > tmpFile 2>&1
IF NOT "%DST2%"=="" (
adb pull %ADBBASEDIR%/%SRC% %DST2% > tmpFile 2>&1
set "DST=%DST2%"
)ELSE (
IF "%DST%"=="" (
adb pull %ADBBASEDIR%/%SRC% > tmpFile 2>&1
)
adb pull %ADBBASEDIR%/%SRC% %2 > tmpFile 2>&1
)
set /P ADBPULLECHO=<tmpFile
del tmpFile