diff --git a/README.md b/README.md index f520bc9..d64bcaf 100644 --- a/README.md +++ b/README.md @@ -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 diff --git a/rootAVD.sh b/rootAVD.sh index c10260a..46968e5 100755 --- a/rootAVD.sh +++ b/rootAVD.sh @@ -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 $@