changed return 1 to return 0

This commit is contained in:
newbit1
2023-04-15 19:54:55 +02:00
parent 5d7e455126
commit 67b4583988
2 changed files with 3 additions and 2 deletions
+1
View File
@@ -343,6 +343,7 @@ rootAVD.bat %LOCALAPPDATA%\Android\Sdk\system-images\android-31\google_apis_play
### Change Logs
#### [April 2023]
* [rootAVD.sh] - changed return 1 to return 0
* [rootAVD.sh] - changed copy and move routine
* [rootAVD.sh] - added support for ramdisk-qemu.img
+2 -2
View File
@@ -695,7 +695,7 @@ CopyMagiskToAVD() {
echo "[*] from Magisk by topjohnwu and modded by NewBit XDA"
adb shell sh $ADBBASEDIR/rootAVD.sh $@
if [ "$?" == "1" ]; then
if [ "$?" == "0" ]; then
if ( "$UpdateBusyBoxScript" ); then
pullfromAVD "bbscript.sh" "rootAVD.sh"
@@ -2617,7 +2617,7 @@ export INEMULATOR
if $INEMULATOR; then
InstallMagiskToAVD $@
return 1
return 0
fi
ProcessArguments $@