mirror of
https://github.com/topjohnwu/Magisk.git
synced 2024-11-30 13:35:27 +00:00
Don't export $API when initializing shell
* This becomes meanless after 9c0e189
.
This commit is contained in:
parent
257ceb99f7
commit
f6e4a27fdd
@ -78,7 +78,6 @@ class AppShellInit : BaseShellInit() {
|
|||||||
fun getBool(name: String) = getVar(name).toBoolean()
|
fun getBool(name: String) = getVar(name).toBoolean()
|
||||||
|
|
||||||
shell.newJob().apply {
|
shell.newJob().apply {
|
||||||
add("export API=${Build.VERSION.SDK_INT}")
|
|
||||||
add(context.rawResource(R.raw.manager))
|
add(context.rawResource(R.raw.manager))
|
||||||
if (shell.isRoot) {
|
if (shell.isRoot) {
|
||||||
add(context.assets.open("util_functions.sh"))
|
add(context.assets.open("util_functions.sh"))
|
||||||
|
Loading…
Reference in New Issue
Block a user