diff --git a/build_scripts/build.sh b/build_scripts/build.sh index 282dc8f..4731743 100755 --- a/build_scripts/build.sh +++ b/build_scripts/build.sh @@ -1,3 +1,3 @@ #!/usr/bin/env bash -web-ext build --source-dir=./src --artifacts-dir=./web-ext-artifacts \ No newline at end of file +web-ext build --source-dir=./src --artifacts-dir=./builds \ No newline at end of file diff --git a/build_scripts/build_ff_listed.sh b/build_scripts/build_ff_listed.sh index 55ed740..5afc6a1 100755 --- a/build_scripts/build_ff_listed.sh +++ b/build_scripts/build_ff_listed.sh @@ -1,10 +1,11 @@ -#!/usr/bin/env bash +!/usr/bin/env bash source .env -cd src -mv manifest.json manifest_temp.json -mv manifest_ff.json manifest.json -web-ext sign --channel=listed --api-key=user:$API_KEY --api-secret=$API_SECRET -mv manifest.json manifest_ff.json -mv manifest_temp.json manifest.json \ No newline at end of file +echo "Building/signing listed firefox extension" +mv src/manifest.json src/manifest_temp.json +mv src/manifest_ff.json src/manifest.json +echo "manifest_ff > manifest" +web-ext sign --channel=unlisted --api-key=user:$API_KEY --api-secret=$API_SECRET --source-dir=./src --artifacts-dir=./builds +mv src/manifest.json src/manifest_ff.json +mv src/manifest_temp.json src/manifest.json \ No newline at end of file diff --git a/build_scripts/build_ff_unlisted.sh b/build_scripts/build_ff_unlisted.sh index 31c3654..5468268 100755 --- a/build_scripts/build_ff_unlisted.sh +++ b/build_scripts/build_ff_unlisted.sh @@ -2,11 +2,9 @@ source .env -cd src -mv manifest.json manifest_temp.json -mv manifest_ff.json manifest.json -web-ext sign --channel=unlisted --api-key=user:$API_KEY --api-secret=$API_SECRET -mv manifest.json manifest_ff.json -mv manifest_temp.json manifest.json -cd .. -mv src/web-ext-artifacts/* builds/ \ No newline at end of file +echo "Building/signing UNlisted firefox extension" +mv src/manifest.json src/manifest_temp.json +mv src/manifest_ff.json src/manifest.json +web-ext sign --channel=unlisted --api-key=user:$API_KEY --api-secret=$API_SECRET --source-dir=./src --artifacts-dir=./builds +mv src/manifest.json src/manifest_ff.json +mv src/manifest_temp.json src/manifest.json \ No newline at end of file diff --git a/builds/aula_fixer-1.4.1.xpi b/builds/aula_fixer-1.4.1.xpi new file mode 100644 index 0000000..d38a507 Binary files /dev/null and b/builds/aula_fixer-1.4.1.xpi differ diff --git a/src/manifest_ff.json b/src/manifest_ff.json index f75ff71..3db4e3b 100644 --- a/src/manifest_ff.json +++ b/src/manifest_ff.json @@ -1,7 +1,7 @@ { "manifest_version": 3, "name": "Aula Fixer", - "version": "1.4", + "version": "1.4.1", "description": "Removes all notifications about rooms for rent etc. on Aula and changes styling so that less screen space is wasted.", "background": {