Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
M
Magisk
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
Magisk
Commits
f6e4a27f
Commit
f6e4a27f
authored
Apr 06, 2021
by
Wang Han
Committed by
John Wu
Apr 09, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Don't export $API when initializing shell
* This becomes meanless after
9c0e1897
.
parent
257ceb99
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
1 deletion
+0
-1
ShellInit.kt
...rc/main/java/com/topjohnwu/magisk/core/utils/ShellInit.kt
+0
-1
No files found.
app/src/main/java/com/topjohnwu/magisk/core/utils/ShellInit.kt
View file @
f6e4a27f
...
@@ -78,7 +78,6 @@ class AppShellInit : BaseShellInit() {
...
@@ -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"
))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment