mirror of
https://github.com/topjohnwu/Magisk.git
synced 2024-12-22 07:57:39 +00:00
build: Addressed file not found
This commit is contained in:
parent
3eb9633231
commit
a5fc7891a6
3
build.py
3
build.py
@ -119,6 +119,9 @@ def load_config(args):
|
||||
config['keyStore'] = 'release-key.jks'
|
||||
|
||||
# Load prop file
|
||||
if not os.path.exists(args.config):
|
||||
error(f'Please make sure {args.config} existed')
|
||||
|
||||
with open(args.config, 'r') as f:
|
||||
for line in [l.strip(' \t\r\n') for l in f]:
|
||||
if line.startswith('#') or len(line) == 0:
|
||||
|
Loading…
x
Reference in New Issue
Block a user