mirror of
https://github.com/topjohnwu/Magisk
synced 2024-11-13 20:54:12 +01:00
Miscellaneous
This commit is contained in:
parent
e139e8777b
commit
d8bb3af06b
2
app
2
app
@ -1 +1 @@
|
|||||||
Subproject commit de2285d5e920ad020f5f2348264b67dc34e0882d
|
Subproject commit 1adf331268476405f22725518335ef49f6999fd9
|
@ -12,7 +12,7 @@ SCRIPT_VERSION=$MAGISK_VER_CODE
|
|||||||
|
|
||||||
# Default location, will override if needed
|
# Default location, will override if needed
|
||||||
MAGISKBIN=/data/adb/magisk
|
MAGISKBIN=/data/adb/magisk
|
||||||
[ -z $MAGISKBIN ] && MOUNTPATH=/sbin/.core/img
|
[ -z $MOUNTPATH ] && MOUNTPATH=/sbin/.core/img
|
||||||
[ -z $IMG ] && IMG=/data/adb/magisk.img
|
[ -z $IMG ] && IMG=/data/adb/magisk.img
|
||||||
|
|
||||||
BOOTSIGNER="/system/bin/dalvikvm -Xnodex2oat -Xnoimage-dex2oat -cp \$APK com.topjohnwu.magisk.utils.BootSigner"
|
BOOTSIGNER="/system/bin/dalvikvm -Xnodex2oat -Xnoimage-dex2oat -cp \$APK com.topjohnwu.magisk.utils.BootSigner"
|
||||||
@ -86,7 +86,7 @@ getvar() {
|
|||||||
local VARNAME=$1
|
local VARNAME=$1
|
||||||
local VALUE=$(eval echo \$$VARNAME)
|
local VALUE=$(eval echo \$$VARNAME)
|
||||||
[ ! -z $VALUE ] && return
|
[ ! -z $VALUE ] && return
|
||||||
for DIR in /.backup /data /cache /system; do
|
for DIR in /.backup /dev /data /cache /system; do
|
||||||
VALUE=`grep_prop $VARNAME $DIR/.magisk`
|
VALUE=`grep_prop $VARNAME $DIR/.magisk`
|
||||||
[ ! -z $VALUE ] && break;
|
[ ! -z $VALUE ] && break;
|
||||||
done
|
done
|
||||||
|
@ -2,7 +2,7 @@ apply plugin: 'com.android.application'
|
|||||||
|
|
||||||
android {
|
android {
|
||||||
compileSdkVersion 27
|
compileSdkVersion 27
|
||||||
buildToolsVersion "27.0.2"
|
buildToolsVersion "27.0.3"
|
||||||
|
|
||||||
defaultConfig {
|
defaultConfig {
|
||||||
applicationId "com.topjohnwu.snet"
|
applicationId "com.topjohnwu.snet"
|
||||||
|
Loading…
Reference in New Issue
Block a user