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
e97bdb53
Commit
e97bdb53
authored
Oct 29, 2017
by
topjohnwu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Adjust java paths
parent
fe1439fb
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
5 deletions
+6
-5
build.py
build.py
+5
-4
java
java
+1
-1
No files found.
build.py
View file @
e97bdb53
...
...
@@ -151,7 +151,8 @@ def build_snet(args):
os
.
chdir
(
'..'
)
def
sign_adjust_zip
(
unsigned
,
output
):
jarsigner
=
os
.
path
.
join
(
'java'
,
'jarsigner'
,
'build'
,
'libs'
,
'jarsigner-fat.jar'
)
signer_name
=
'zipsigner-1.0.jar'
jarsigner
=
os
.
path
.
join
(
'java'
,
'crypto'
,
'build'
,
'libs'
,
signer_name
)
if
os
.
name
!=
'nt'
and
not
os
.
path
.
exists
(
os
.
path
.
join
(
'ziptools'
,
'zipadjust'
)):
header
(
'* Building zipadjust'
)
...
...
@@ -160,11 +161,11 @@ def sign_adjust_zip(unsigned, output):
if
proc
.
returncode
!=
0
:
error
(
'Build zipadjust failed!'
)
if
not
os
.
path
.
exists
(
jarsigner
):
header
(
'* Building
jarsigner-fat.jar'
)
header
(
'* Building
'
+
signer_name
)
os
.
chdir
(
'java'
)
proc
=
subprocess
.
run
(
'{}
jarsigner
:shadowJar'
.
format
(
os
.
path
.
join
(
'.'
,
'gradlew'
)),
shell
=
True
)
proc
=
subprocess
.
run
(
'{}
crypto
:shadowJar'
.
format
(
os
.
path
.
join
(
'.'
,
'gradlew'
)),
shell
=
True
)
if
proc
.
returncode
!=
0
:
error
(
'Build
jarsigner-fat.jar failed!'
)
error
(
'Build
{} failed!'
.
format
(
signer_name
)
)
os
.
chdir
(
'..'
)
header
(
'* Signing / Adjusting Zip'
)
...
...
java
@
05f41928
Subproject commit
4956d826fbdbad35645260aa3edb3b746651cceb
Subproject commit
05f41928cd0f72ddab557c8db6c2fc11c3fd08e6
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