Skip to content

Commit

Permalink
Merge pull request #139 from ator-dev/match-mode-selection-improve
Browse files Browse the repository at this point in the history
Improve match-mode selection, refactor
  • Loading branch information
ator-dev authored Nov 17, 2023
2 parents c8ce2d6 + 7fa3cdb commit 88d164b
Show file tree
Hide file tree
Showing 6 changed files with 1,039 additions and 738 deletions.
3 changes: 2 additions & 1 deletion manifest/chromium.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@

"options_ui": {
"page": "/pages/options.html",
"browser_style": true
"browser_style": false
},

"action": {
Expand All @@ -58,6 +58,7 @@
{
"resources": [
"/dist/paint.js",
"/icons/mms.svg",
"/icons/arrow.svg",
"/icons/close.svg",
"/icons/search.svg",
Expand Down
3 changes: 2 additions & 1 deletion manifest/firefox.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@

"options_ui": {
"page": "/pages/options.html",
"browser_style": true
"browser_style": false
},

"action": {
Expand All @@ -66,6 +66,7 @@
{
"resources": [
"/dist/paint.js",
"/icons/mms.svg",
"/icons/arrow.svg",
"/icons/close.svg",
"/icons/search.svg",
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@
"displayName": "Mark My Search",
"scripts": {
"icons-convert": "bash -c 'mkdir -p icons/dist; SIZES=(16 32 48 64 96 128 240 300); for SIZE in ${SIZES[@]}; do inkscape icons/mms.svg -w $SIZE -h $SIZE -o icons/dist/mms-${SIZE}.png; done; SIZES=(32); for SIZE in ${SIZES[@]}; do inkscape icons/mms-off.svg -w $SIZE -h $SIZE -o icons/dist/mms-off-${SIZE}.png; done'",
"scripts-build": "tsc -p tsconfig.json",
"scripts-build": "rm --recursive dist; tsc --project tsconfig.json",
"prepare-firefox": "ln --force --symbolic manifest/firefox.json manifest.json",
"prepare-chromium": "ln --force --symbolic manifest/chromium.json manifest.json",
"pack-firefox": "npm run prepare-firefox; mkdir --parents pack; rm --force pack/mark_my_search-firefox.zip; zip pack/mark_my_search-firefox.zip * -ri dist/**\\* icons/**\\* pages/**\\* lib/**\\* manifest.json",
"pack-chromium": "npm run prepare-chromium; mkdir --parents pack; rm --force pack/mark_my_search-chromium.zip; zip pack/mark_my_search-chromium.zip * -ri dist/**\\* icons/**\\* pages/**\\* lib/**\\* manifest.json"
"pack-firefox": "rm --force pack/mark_my_search-firefox.zip; npm run scripts-build; npm run prepare-firefox; mkdir --parents pack; zip pack/mark_my_search-firefox.zip * -ri dist/**\\* icons/**\\* pages/**\\* lib/**\\* manifest.json",
"pack-chromium": "rm --force pack/mark_my_search-chromium.zip; npm run scripts-build; npm run prepare-chromium; mkdir --parents pack; zip pack/mark_my_search-chromium.zip * -ri dist/**\\* icons/**\\* pages/**\\* lib/**\\* manifest.json"
},
"repository": {
"type": "git",
Expand Down
Loading

0 comments on commit 88d164b

Please sign in to comment.