diff --git a/manifest.json b/manifest.json index 3c71ae9..1c1d0b4 100644 --- a/manifest.json +++ b/manifest.json @@ -13,7 +13,7 @@ ], "background": { "scripts": ["background.js"], - "persistent": false + "persistent": true }, "content_scripts": [ { diff --git a/pack_plugin.sh b/pack_plugin.sh index 9ca3169..bd0441f 100755 --- a/pack_plugin.sh +++ b/pack_plugin.sh @@ -49,6 +49,8 @@ rm -rf .git/ *.md pack_plugin.sh translation-assistant/ if [[ $browser = 'chrome' ]];then # We need to exclude Firefox-specific manifest entries grep -v -e gecko -e browser_specific_settings manifest.json > tmp + # More chrome specific things + sed -i 's/"persistent": true/"persistent": false/' tmp mv tmp manifest.json fi zip -r $PACKAGE_NAME.zip *