Pre grant as much as possible

This commit is contained in:
vvb2060 2022-08-22 15:56:47 +08:00 committed by topjohnwu
parent 8bd4760b00
commit c2f96975ce

View File

@ -153,7 +153,7 @@ void exec_module_scripts(const char *stage, const vector<string_view> &modules)
constexpr char install_script[] = R"EOF(
APK=%s
log -t Magisk "pm_install: $APK"
log -t Magisk "pm_install: $(pm install -r $APK 2>&1)"
log -t Magisk "pm_install: $(pm install -g -r $APK 2>&1)"
rm -f $APK
)EOF";