[mv3] Fix build script

This commit is contained in:
Raymond Hill 2024-03-07 09:19:16 -05:00
parent 8533fa74ee
commit e1e861704b
No known key found for this signature in database
GPG key ID: 25E1490B761470C2

View file

@ -125,7 +125,7 @@ echo "*** uBOLite.mv3: extension ready"
echo "Extension location: $DES/"
# Local build: use a different extension id than the official one
if [ -z "$TAGNAME" ]; then
if [ -z "$TAGNAME" ] && [ "$PLATFORM" = "firefox" ]; then
tmp=$(mktemp)
jq '.browser_specific_settings.gecko.id = "uBOLite.dev@raymondhill.net"' "$DES/manifest.json" > "$tmp" \
&& mv "$tmp" "$DES/manifest.json"