Skip to content

Commit 9d16251

Browse files
committed
Remove post-fs-data.sh
1 parent 16b574f commit 9d16251

File tree

4 files changed

+0
-12
lines changed

4 files changed

+0
-12
lines changed

module/build.sh

-2
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,6 @@ else
2424
cat ./src/magisk/customize.sh >> $MODULE_TEMPLATE/template/magisk_module/customize.sh
2525
fi
2626
echo "rm -f \"/data/local/tmp/lib$MODULE_LIB_NAME.dex\" || true" >> $MODULE_TEMPLATE/template/magisk_module/uninstall.sh
27-
cat ./src/magisk/post-fs-data.sh > $MODULE_TEMPLATE/template/magisk_module/post-fs-data.sh
28-
chmod 0755 $MODULE_TEMPLATE/template/magisk_module/post-fs-data.sh
2927
perl -0777 -i -pe 's/(forkAndSpecializePre[\W\w]+?{[\W\w]+?)}/$1 fingerprintPre(env, appDataDir, niceName);\n}/' $MODULE_TEMPLATE/module/src/main/cpp/main.cpp
3028
perl -0777 -i -pe 's/(forkAndSpecializePost[\W\w]+?{[\W\w]*?)}/$1 fingerprintPost(env, MAGISK_MODULE_TYPE_RIRU);\n }/' $MODULE_TEMPLATE/module/src/main/cpp/main.cpp
3129
perl -0777 -i -pe 's/(specializeAppProcessPre[\W\w]+?{[\W\w]+?)}/$1 fingerprintPre(env, appDataDir, niceName);\n}/' $MODULE_TEMPLATE/module/src/main/cpp/main.cpp

module/src/magisk/customize.sh

-2
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,5 @@ ui_print "- Riru Enabled"
22
rm -rf "$MODPATH/zygisk" || true
33
ui_print "- Extracting extra libraries"
44
set_perm_recursive "$MODPATH" 0 0 0755 0644
5-
extract "$ZIPFILE" 'post-fs-data.sh' "$MODPATH"
6-
set_perm "$MODPATH/post-fs-data.sh" 0 0 0755
75
rm -f "/data/local/tmp/lib$RIRU_MODULE_LIB_NAME.debug.dex" > /dev/null 2>&1 || true
86
rm -f "/data/local/tmp/lib$RIRU_MODULE_LIB_NAME.dex" > /dev/null 2>&1 || true

module/src/magisk/post-fs-data.sh

-6
This file was deleted.

module/src/zygisk/customize.sh

-2
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,6 @@ else
3939
fi
4040
ui_print "- Extracting extra libraries"
4141
set_perm_recursive "$MODPATH" 0 0 0755 0644
42-
extract "$ZIPFILE" 'post-fs-data.sh' "$MODPATH"
43-
set_perm "$MODPATH/post-fs-data.sh" 0 0 0755
4442
rm -f "/data/local/tmp/lib$ZYGISK_MODULE_LIB_NAME.dex" > /dev/null 2>&1 || true
4543
rm -f "/data/local/tmp/lib$ZYGISK_MODULE_LIB_NAME.dex" > /dev/null 2>&1 || true
4644
set_perm_recursive "$MODPATH" 0 0 0755 0644

0 commit comments

Comments
 (0)