Raymond Hill 2019-06-17 07:35:14 -04:00
parent afc41241f2
commit 81324b765d
No known key found for this signature in database
GPG Key ID: 25E1490B761470C2
1 changed files with 8 additions and 7 deletions

View File

@ -20,13 +20,14 @@ firefox_manifest_file = os.path.join(build_dir, 'manifest.json')
with open(firefox_manifest_file) as f2: with open(firefox_manifest_file) as f2:
firefox_manifest = json.load(f2) firefox_manifest = json.load(f2)
match = re.search('^(\d+\.\d+\.\d+)(\.\d+)$', version) if 'sidebar_action' in firefox_manifest:
if not match: match = re.search('^(\d+\.\d+\.\d+)(\.\d+)$', version)
# https://bugzilla.mozilla.org/show_bug.cgi?id=1459007 if not match:
# By design Firefox opens the sidebar with new installation of # https://bugzilla.mozilla.org/show_bug.cgi?id=1459007
# uBO when sidebar_action is present in the manifest. # By design Firefox opens the sidebar with new installation of
# Remove sidebarAction support for stable release of uBO. # uBO when sidebar_action is present in the manifest.
del firefox_manifest['sidebar_action'] # Remove sidebarAction support for stable release of uBO.
del firefox_manifest['sidebar_action']
firefox_manifest['version'] = version firefox_manifest['version'] = version