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
963d248c
Commit
963d248c
authored
Jan 23, 2021
by
vvb2060
Committed by
topjohnwu
Jan 24, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Rename apk to be uninstaller
parent
657056e6
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
2 deletions
+5
-2
build.py
build.py
+0
-1
update_binary.sh
scripts/update_binary.sh
+5
-1
No files found.
build.py
View file @
963d248c
...
@@ -506,7 +506,6 @@ def build_all(args):
...
@@ -506,7 +506,6 @@ def build_all(args):
build_stub
(
args
)
build_stub
(
args
)
build_binary
(
args
)
build_binary
(
args
)
build_app
(
args
)
build_app
(
args
)
zip_uninstaller
(
args
)
parser
=
argparse
.
ArgumentParser
(
description
=
'Magisk build script'
)
parser
=
argparse
.
ArgumentParser
(
description
=
'Magisk build script'
)
...
...
scripts/update_binary.sh
View file @
963d248c
...
@@ -15,4 +15,8 @@ export INSTALLER=$TMPDIR/install
...
@@ -15,4 +15,8 @@ export INSTALLER=$TMPDIR/install
$BBBIN
mkdir
-p
$INSTALLER
$BBBIN
mkdir
-p
$INSTALLER
$BBBIN
unzip
-o
"
$3
"
"assets/*"
"lib/*"
"META-INF/com/google/*"
-x
"lib/*/libbusybox.so"
-d
$INSTALLER
>
&2
$BBBIN
unzip
-o
"
$3
"
"assets/*"
"lib/*"
"META-INF/com/google/*"
-x
"lib/*/libbusybox.so"
-d
$INSTALLER
>
&2
export
ASH_STANDALONE
=
1
export
ASH_STANDALONE
=
1
exec
$BBBIN
sh
"
$INSTALLER
/META-INF/com/google/android/updater-script"
"
$@
"
if
[
"
${
3
:-
15
}
"
=
"uninstaller.zip"
]
;
then
exec
$BBBIN
sh
"
$INSTALLER
/assets/magisk_uninstaller.sh"
"
$@
"
else
exec
$BBBIN
sh
"
$INSTALLER
/META-INF/com/google/android/updater-script"
"
$@
"
fi
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