소스 검색

fixed warnings in Firefox (cf. about:debugging)

Former-commit-id: bb85dd7fab8970ed265cbd02d6a444ef41e16952
Gildas 6 년 전
부모
커밋
8aa4d0fad6
1개의 변경된 파일2개의 추가작업 그리고 1개의 파일을 삭제
  1. 2 1
      build-extension.sh

+ 2 - 1
build-extension.sh

@@ -1,7 +1,8 @@
 #!/bin/sh
 rm singlefile-extension-firefox.zip singlefile-extension-chromium.zip
-zip -r singlefile-extension-firefox.zip manifest.json extension lib _locales index.js
 cp manifest.json manifest.copy.json
+jq "del(.options_page,.background.persistent)" manifest.copy.json > manifest.json
+zip -r singlefile-extension-firefox.zip manifest.json extension lib _locales index.js
 jq "del(.applications,.permissions[0],.options_ui.browser_style)" manifest.copy.json > manifest.json
 zip -r singlefile-extension-chromium.zip manifest.json extension lib _locales index.js
 mv manifest.copy.json manifest.json