mirror of
https://github.com/gorhill/uBlock.git
synced 2025-01-31 12:11:36 +01:00
This commit is contained in:
parent
6e3b3928c2
commit
015e31b577
@ -93,7 +93,8 @@
|
|||||||
"default_icon": {
|
"default_icon": {
|
||||||
"16": "img/ublock.svg",
|
"16": "img/ublock.svg",
|
||||||
"48": "img/ublock.svg"
|
"48": "img/ublock.svg"
|
||||||
}
|
},
|
||||||
|
"open_at_install": false
|
||||||
},
|
},
|
||||||
"storage": {
|
"storage": {
|
||||||
"managed_schema": "managed_storage.json"
|
"managed_schema": "managed_storage.json"
|
||||||
|
@ -27,6 +27,12 @@ if match:
|
|||||||
webext_manifest['name'] += ' development build'
|
webext_manifest['name'] += ' development build'
|
||||||
webext_manifest['short_name'] += ' dev build'
|
webext_manifest['short_name'] += ' dev build'
|
||||||
webext_manifest['browser_action']['default_title'] += ' dev build'
|
webext_manifest['browser_action']['default_title'] += ' dev build'
|
||||||
|
else:
|
||||||
|
# https://bugzilla.mozilla.org/show_bug.cgi?id=1459007
|
||||||
|
# By design Firefox opens the sidebar with new installation of
|
||||||
|
# uBO when sidebar_action is present in the manifest.
|
||||||
|
# Remove sidebarAction support for stable release of uBO.
|
||||||
|
del webext_manifest['sidebar_action']
|
||||||
|
|
||||||
with open(webext_manifest_file, mode='w', encoding='utf-8') as f2:
|
with open(webext_manifest_file, mode='w', encoding='utf-8') as f2:
|
||||||
json.dump(webext_manifest, f2, indent=2, separators=(',', ': '), sort_keys=True)
|
json.dump(webext_manifest, f2, indent=2, separators=(',', ': '), sort_keys=True)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user