[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
1 changed files with 1 additions and 1 deletions

View File

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