This repository was archived by the owner on Oct 17, 2020. It is now read-only.
File tree 6 files changed +6
-6
lines changed
META-INF/com/google/android
6 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -54,8 +54,8 @@ if [ -f /data/adb/magisk/util_functions.sh ]; then
54
54
[ $MAGISK_VER_CODE -gt 18100 ] || require_new_magisk
55
55
else
56
56
[ -f /data/magisk/util_functions.sh ] && require_new_magisk
57
- MAGISK=false; UF=$TMPDIR /META-INF/unity
58
- unzip -oqj " $ZIPFILE " ' META-INF/unity /*' -d $TMPDIR >&2
57
+ MAGISK=false; UF=$TMPDIR /common/unityfiles
58
+ unzip -oqj " $ZIPFILE " ' common/unityfiles /*' -d $TMPDIR >&2
59
59
[ -f " $UF /util_functions.sh" ] || { ui_print " ! Unable to extract zip file !" ; exit 1; }
60
60
. $UF /util_functions.sh
61
61
fi
File renamed without changes.
Original file line number Diff line number Diff line change @@ -671,7 +671,7 @@ unity_upgrade() {
671
671
[ -f " $MODPATH /common/unity_upgrade.sh" ] && . $MODPATH /common/unity_upgrade.sh
672
672
unity_uninstall
673
673
mkdir -p $MODPATH
674
- unzip -o " $ZIPFILE " -x ' META-INF/*' -d $MODPATH >&2
674
+ unzip -o " $ZIPFILE " -x ' META-INF/*' ' common/unityfiles/* ' -d $MODPATH >&2
675
675
unity_install
676
676
}
677
677
@@ -700,7 +700,7 @@ unity_main() {
700
700
701
701
# Extract files - done this way so we can mount apex before chcon is called from set_perm
702
702
ui_print " - Extracting module files"
703
- unzip -oq " $ZIPFILE " -x ' META-INF/*' -d $MODPATH >&2
703
+ unzip -o " $ZIPFILE " -x ' META-INF/* ' ' common/unityfiles /*' -d $MODPATH >&2
704
704
705
705
# Set variables
706
706
set_vars
Original file line number Diff line number Diff line change 11
11
12
12
SKIPUNZIP=1
13
13
if [ -z $UF ]; then
14
- MAGISK=true; UF=$TMPDIR /META-INF/unity
15
- unzip -oq " $ZIPFILE " ' META-INF/unity /*' -d $TMPDIR >&2
14
+ MAGISK=true; UF=$TMPDIR /common/unityfiles
15
+ unzip -oq " $ZIPFILE " ' common/unityfiles /*' -d $TMPDIR >&2
16
16
[ -f " $UF /util_functions.sh" ] || { ui_print " ! Unable to extract zip file !" ; exit 1; }
17
17
. $UF /util_functions.sh
18
18
fi
You can’t perform that action at this time.
0 commit comments