diff --git a/bin/build-chrome-dev b/bin/build-chrome-dev index b7cb697..e9f0b0d 100755 --- a/bin/build-chrome-dev +++ b/bin/build-chrome-dev @@ -10,7 +10,7 @@ fi export NODE_ENV=development # swap manifests -cp manifest/manifest.dev.json manifest/manifest.json +cp manifest/manifest.dev.json src/manifest.json # clean old dir rm -r dist/$dir_name @@ -19,7 +19,7 @@ rm -r dist/$dir_name npm run dev:ch # swap manifests back -cp manifest/manifest.dev.json manifest/manifest.json +cp manifest/manifest.dev.json src/manifest.json # pack build cd dist/$dir_name diff --git a/manifest/manifest.json b/manifest/manifest.json deleted file mode 100644 index 66cd1d6..0000000 --- a/manifest/manifest.json +++ /dev/null @@ -1,59 +0,0 @@ -{ - "manifest_version": 3, - "name": "pinmenote-dev", - "short_name": "pinmenote-dev", - "description": "Pin note, modify, draw, comment, archive and save website", - "version": "0.1.7", - "icons": { - "16": "assets/icon/16.png", - "32": "assets/icon/32.png", - "64": "assets/icon/64.png", - "128": "assets/icon/128.png" - }, - "author": "pinmenote (contact@pintmenote.com)", - "action": { - "default_icon": { - "16": "assets/icon/16.png", - "24": "assets/icon/24.png", - "32": "assets/icon/32.png" - }, - "default_title": "pinmenote-dev", - "default_popup": "default-popup/default-popup.html" - }, - "permissions": [ - "activeTab", - "storage", - "unlimitedStorage", - "scripting", - "downloads" - ], - "background": { - "service_worker": "service-worker/service-worker.ts", - "type": "module" - }, - "content_scripts": [ - { - "matches": [ - "" - ], - "all_frames": false, - "js": [ - "content-script/content-script.ts" - ], - "run_at": "document_start" - }, - { - "matches": [ - "" - ], - "all_frames": true, - "js": [ - "iframe/iframe-script.ts" - ], - "run_at": "document_idle" - } - ], - "options_ui": { - "page": "options-ui/options-ui.html" - } -} \ No newline at end of file