2
0
mirror of https://github.com/topjohnwu/Magisk synced 2025-08-31 11:35:14 +00:00

Fix bootloop when upgrading from older Magisk

This commit is contained in:
topjohnwu
2018-07-01 14:58:31 +08:00
parent c0ac2d540b
commit d149af9628
4 changed files with 5 additions and 4 deletions

View File

@@ -106,7 +106,7 @@ def build_binary(args):
header('* Building binaries: ' + ' '.join(targets))
# Force update logging.h timestamp to trigger recompilation for the flags to make a difference
os.utime(os.path.join('native', 'jni', 'include', 'logging.h'))
# Basic flags
base_flags = 'MAGISK_VERSION=\"{}\" MAGISK_VER_CODE={} MAGISK_DEBUG={}'.format(config['version'], config['versionCode'],