File tree Expand file tree Collapse file tree 1 file changed +1
-7
lines changed
src/commonMain/kotlin/app/revanced/library/installation/installer Expand file tree Collapse file tree 1 file changed +1
-7
lines changed Original file line number Diff line number Diff line change @@ -50,11 +50,6 @@ internal object Constants {
5050 # Unmount any existing installations to prevent multiple unnecessary mounts.
5151 $UMOUNT
5252
53- # Sanity check to make sure pkg is no longer mounted.
54- if $MOUNT_GREP >/dev/null; then
55- exit 1
56- fi
57-
5853 base_path="$MOUNTED_APK_PATH "
5954
6055 chcon u:object_r:apk_data_file:s0 ${' $' } base_path
@@ -64,11 +59,10 @@ internal object Constants {
6459 MIRROR="$(magisk --path)/.magisk/mirror"
6560 fi
6661
67- mount -o bind ${' $' } MIRROR${' $' } base_path ${' $' } stock_path || exit 1
62+ mount -o bind ${' $' } MIRROR${' $' } base_path ${' $' } stock_path
6863
6964 # Kill the app to force it to restart the mounted APK in case it's currently running.
7065 $KILL
71- exit 0
7266 """ .trimIndent()
7367
7468 /* *
You can’t perform that action at this time.
0 commit comments