mirror of
https://github.com/gorhill/uMatrix.git
synced 2024-06-08 13:24:52 +12:00
Use "development build" instead of "dev build" before Chrome store complains
This commit is contained in:
parent
1930844e68
commit
2714193b73
|
@ -25,10 +25,9 @@ manifest_out['version'] = version
|
|||
# Development build? If so, modify name accordingly.
|
||||
match = re.search('^\d+\.\d+\.\d+\.\d+$', version)
|
||||
if match:
|
||||
dev_build = ' dev build'
|
||||
manifest_out['name'] += dev_build
|
||||
manifest_out['short_name'] += dev_build
|
||||
manifest_out['browser_action']['default_title'] += dev_build
|
||||
manifest_out['name'] += ' development build'
|
||||
manifest_out['short_name'] += ' dev build'
|
||||
manifest_out['browser_action']['default_title'] += ' dev build'
|
||||
|
||||
with open(manifest_out_file, 'w') as f:
|
||||
json.dump(manifest_out, f, indent=2, separators=(',', ': '), sort_keys=True)
|
||||
|
|
Loading…
Reference in a new issue