1
0
mirror of https://github.com/gorhill/uBlock.git synced 2024-07-05 11:37:01 +02:00

[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"