Skip to content

Commit

Permalink
#56 fix: different background scripts for Chrome and Firefox
Browse files Browse the repository at this point in the history
  • Loading branch information
pbek committed Feb 3, 2024
1 parent 509897a commit 8a77228
Show file tree
Hide file tree
Showing 6 changed files with 550 additions and 546 deletions.
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,8 @@ yarn-error.log*
# local .env files
.env.local*

/src-bex/manifest.json
/packages

# Those are symlinked for Firefox and Chrome separately
/src-bex/manifest.json
/src-bex/background.js
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
"lint": "eslint --ext .js,.vue ./",
"format": "prettier --write \"**/*.{js,vue,scss,html,md,json}\" --ignore-path .gitignore",
"test": "echo \"No test specified\" && exit 0",
"link-firefox": "ln -sf ./manifest.firefox.json ./src-bex/manifest.json",
"link-chrome": "ln -sf ./manifest.chrome.json ./src-bex/manifest.json",
"link-firefox": "ln -sf ./manifest.firefox.json ./src-bex/manifest.json; ln -sf ./background.firefox.js ./src-bex/background.js",
"link-chrome": "ln -sf ./manifest.chrome.json ./src-bex/manifest.json; ln -sf ./background.chrome.js ./src-bex/background.js",
"dev": "quasar dev -m bex",
"dev-firefox": "npm run link-firefox && npm run dev",
"dev-chrome": "npm run link-chrome && npm run dev",
Expand Down
File renamed without changes.
Loading

0 comments on commit 8a77228

Please sign in to comment.