adb-permissions.bash: add missing argument, check if DoH3 is supported

This commit is contained in:
Aminda Suomalainen 2024-04-14 09:25:55 +03:00
parent 1faedee5c6
commit 9437d3fa56
Signed by: Mikaela
SSH Key Fingerprint: SHA256:CXLULpqNBdUKB6E6fLA1b/4SzG0HvKD19PbIePU175Q

View File

@ -40,7 +40,10 @@ adb "$@" shell pm grant jp.co.c_lis.ccl.morelocale android.permission.CHANGE_CON
# Shizuku # Shizuku
#(adb shell sh /sdcard/Android/data/moe.shizuku.privileged.api/start.sh &) #(adb shell sh /sdcard/Android/data/moe.shizuku.privileged.api/start.sh &)
(adb shell sh /storage/emulated/0/Android/data/moe.shizuku.privileged.api/start.sh &) (adb "$@" shell sh /storage/emulated/0/Android/data/moe.shizuku.privileged.api/start.sh &)
# If 1, DoH3 is supported
(adb "$@" shell cmd device_config get netd_native doh &)
# Wait a bit and then reboot the device # Wait a bit and then reboot the device
sleep 5 sleep 5