You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
sed -i -e "s/VERSION/$VERSION/g" pkg/crx-opera/manifest.json
forxin`cat .build_exclusions`;do
rm -rf pkg/crx-opera/$x
done
#Create Opera CRX caveat
cd pkg/crx-opera
sed -i 's/rules\/default.rulesets/rules\/default.rulesets.json/g' background-scripts/update.js
cd ../..
# Remove the 'applications' manifest key from the crx version of the extension, change the 'author' string to a hash, and add the "update_url" manifest key
# "update_url" needs to be present to avoid problems reported in https://bugs.chromium.org/p/chromium/issues/detail?id=805755
python3 -c "import json; m=json.loads(open('pkg/crx-opera/manifest.json').read()); m['author']={'email': 'eff.software.projects@gmail.com'}; del m['applications']; open('pkg/crx-opera/manifest.json','w').write(json.dumps(m,indent=4,sort_keys=True))"
# If the --remove-update-channels flag is set, remove all out-of-band update channels
if$REMOVE_UPDATE_CHANNELS;then
echo"Flag --remove-update-channels specified. Removing all out-of-band update channels."