mirror of
https://github.com/topjohnwu/Magisk.git
synced 2024-12-22 07:57:39 +00:00
Care version code changes
This commit is contained in:
parent
c3313623e4
commit
26b2e7dc5d
3
build.py
3
build.py
@ -284,8 +284,7 @@ def build_binary(args):
|
|||||||
if os.stat(args.config).st_mtime_ns > flags_stat.st_mtime_ns:
|
if os.stat(args.config).st_mtime_ns > flags_stat.st_mtime_ns:
|
||||||
update_flags = True
|
update_flags = True
|
||||||
|
|
||||||
last_commit = int(cmd_out(['git', 'log', '-1', r'--format=%at', 'HEAD']))
|
if os.stat('gradle.properties').st_mtime_ns > flags_stat.st_mtime_ns:
|
||||||
if last_commit > flags_stat.st_mtime:
|
|
||||||
update_flags = True
|
update_flags = True
|
||||||
|
|
||||||
if update_flags:
|
if update_flags:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user