aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xpackages/taler-wallet-webextension/pack.sh8
1 files changed, 7 insertions, 1 deletions
diff --git a/packages/taler-wallet-webextension/pack.sh b/packages/taler-wallet-webextension/pack.sh
index 65837f493..99ee1e35a 100755
--- a/packages/taler-wallet-webextension/pack.sh
+++ b/packages/taler-wallet-webextension/pack.sh
@@ -11,5 +11,11 @@ vers_manifest=$(jq -r '.version' manifest.json)
zipfile="taler-wallet-${vers_manifest}.zip"
-rm -f -- "$zipfile"
+mkdir tmp
+jq '. | .name = "GNU Taler Wallet" ' manifest.json > tmp/manifest.json
+cp -r dist static tmp/
+cd tmp
zip -r "$zipfile" dist static manifest.json
+cd ..
+mv "./tmp/$zipfile" ./
+rm -rf tmp