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
ef2f8d48
Commit
ef2f8d48
authored
May 27, 2018
by
topjohnwu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add key alias option to config.prop
parent
9fb9212b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
build.py
build.py
+2
-2
config.prop.sample
config.prop.sample
+2
-0
No files found.
build.py
View file @
ef2f8d48
...
...
@@ -181,8 +181,8 @@ def sign_apk(source, target):
if
not
apksigner
:
error
(
'Cannot find apksigner.jar in Android SDK build tools'
)
proc
=
subprocess
.
run
(
'java -jar {} sign --ks release-key.jks --ks-pass pass:{} --key-pass pass:{} {}'
.
format
(
apksigner
,
config
[
'keyStorePass'
],
config
[
'keyPass'
],
target
),
shell
=
True
)
proc
=
subprocess
.
run
(
'java -jar {} sign --ks release-key.jks --ks-pass pass:{} --k
s-key-alias {} --k
ey-pass pass:{} {}'
.
format
(
apksigner
,
config
[
'keyStorePass'
],
config
[
'key
Alias'
],
config
[
'key
Pass'
],
target
),
shell
=
True
)
if
proc
.
returncode
!=
0
:
error
(
'Release sign Magisk Manager failed!'
)
...
...
config.prop.sample
View file @
ef2f8d48
...
...
@@ -9,5 +9,7 @@ outdir=out
prettyName=false
# These pwds are passed to apksigner for release-key.jks. Necessary when building release apks
# keyPass is the pwd for the specified keyAlias
keyStorePass=
keyAlias=
keyPass=
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