You've already forked PlayIntegrityFork
mirror of
https://github.com/osm0sis/PlayIntegrityFork.git
synced 2025-09-06 06:37:06 +00:00
autopif.sh: don't use half-baked wget-curl wrapper some ROMs include
This commit is contained in:
@@ -14,7 +14,7 @@ case "$0" in
|
|||||||
esac;
|
esac;
|
||||||
DIR=$(dirname "$(readlink -f "$DIR")");
|
DIR=$(dirname "$(readlink -f "$DIR")");
|
||||||
|
|
||||||
if ! which wget >/dev/null; then
|
if ! which wget >/dev/null || grep -q "wget-curl" $(which wget); then
|
||||||
if [ -f /data/adb/magisk/busybox ]; then
|
if [ -f /data/adb/magisk/busybox ]; then
|
||||||
wget() { /data/adb/magisk/busybox wget "$@"; }
|
wget() { /data/adb/magisk/busybox wget "$@"; }
|
||||||
elif [ -f /data/adb/ksu/bin/busybox ]; then
|
elif [ -f /data/adb/ksu/bin/busybox ]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user