Skip to content

Commit 6ed3cc7

Browse files
only allow installation within the magisk app
1 parent 0799b9b commit 6ed3cc7

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

magiskmodule/customize.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
source "$MODPATH"/constants.sh
55

66
[ $API -lt $MINAPI ] && abort "Android SDK $API is not supported!"
7+
[ "$BOOTMODE" != "true" ] && abort "Please install this module within the Magisk app."
78

89
IFS=$'\n'
910
SEARCH_ROOT="$(magisk --path)/.magisk/mirror"/

0 commit comments

Comments
 (0)