mirror of
https://github.com/topjohnwu/Magisk.git
synced 2025-10-19 02:43:27 +00:00
Pre-grant permissions if possible
This commit is contained in:
@@ -154,6 +154,7 @@ constexpr char install_script[] = R"EOF(
|
||||
APK=%s
|
||||
log -t Magisk "pm_install: $APK"
|
||||
log -t Magisk "pm_install: $(pm install -g -r $APK 2>&1)"
|
||||
appops set com.topjohnwu.magisk REQUEST_INSTALL_PACKAGES allow
|
||||
rm -f $APK
|
||||
)EOF";
|
||||
|
||||
|
Reference in New Issue
Block a user