mirror of
https://github.com/gorhill/uBlock.git
synced 2024-11-10 01:02:08 +01:00
This commit is contained in:
parent
afc41241f2
commit
81324b765d
1 changed files with 8 additions and 7 deletions
|
@ -20,8 +20,9 @@ firefox_manifest_file = os.path.join(build_dir, 'manifest.json')
|
|||
with open(firefox_manifest_file) as f2:
|
||||
firefox_manifest = json.load(f2)
|
||||
|
||||
match = re.search('^(\d+\.\d+\.\d+)(\.\d+)$', version)
|
||||
if not match:
|
||||
if 'sidebar_action' in firefox_manifest:
|
||||
match = re.search('^(\d+\.\d+\.\d+)(\.\d+)$', version)
|
||||
if not match:
|
||||
# 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.
|
||||
|
|
Loading…
Reference in a new issue