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 {
50
50
# Unmount any existing installations to prevent multiple unnecessary mounts.
51
51
$UMOUNT
52
52
53
- # Sanity check to make sure pkg is no longer mounted.
54
- if $MOUNT_GREP >/dev/null; then
55
- exit 1
56
- fi
57
-
58
53
base_path="$MOUNTED_APK_PATH "
59
54
60
55
chcon u:object_r:apk_data_file:s0 ${' $' } base_path
@@ -64,11 +59,10 @@ internal object Constants {
64
59
MIRROR="$(magisk --path)/.magisk/mirror"
65
60
fi
66
61
67
- mount -o bind ${' $' } MIRROR${' $' } base_path ${' $' } stock_path || exit 1
62
+ mount -o bind ${' $' } MIRROR${' $' } base_path ${' $' } stock_path
68
63
69
64
# Kill the app to force it to restart the mounted APK in case it's currently running.
70
65
$KILL
71
- exit 0
72
66
""" .trimIndent()
73
67
74
68
/* *
You can’t perform that action at this time.
0 commit comments