Skip to content

Commit 39c78ef

Browse files
committed
[WIP] address review
1 parent 3cd3ade commit 39c78ef

File tree

1 file changed

+1
-7
lines changed
  • src/commonMain/kotlin/app/revanced/library/installation/installer

1 file changed

+1
-7
lines changed

src/commonMain/kotlin/app/revanced/library/installation/installer/Constants.kt

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff 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
/**

0 commit comments

Comments
 (0)