Skip to content

Commit

Permalink
Fix build script bug for firefox and version
Browse files Browse the repository at this point in the history
  • Loading branch information
demetrios-koziris committed Nov 3, 2024
1 parent 75623f3 commit 7c4f839
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ for platform in "$@"; do
fi

if [ "$platform" == "firefox" ]; then
sed -i '' 's/{/{\n "browser_specific_settings": {"gecko": {"id": "{fbd3b601-613b-4747-a92b-4d37b2fd7667}"}},/' "$MANIFEST_FILE"
sed -i '' '1s/{/{\n "browser_specific_settings": {"gecko": {"id": "{fbd3b601-613b-4747-a92b-4d37b2fd7667}"}},/' "$MANIFEST_FILE"
sed -i '' 's/"service_worker": "js\/serviceWorker.js"/"scripts": ["js\/serviceWorker.js"]/g' "$MANIFEST_FILE"
fi

Expand Down
2 changes: 1 addition & 1 deletion src/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "McGill Enhanced",
"author": "kozirisdev",
"manifest_version": 3,
"version": "4.4.5",
"version": "4.4.6",
"description": "Enhance the functionality of McGill.ca",
"permissions": [
"storage"
Expand Down

0 comments on commit 7c4f839

Please sign in to comment.