c99a298af8fb

switch Firefox manifest from service_worker to scripts array for MV3 compatibility (v1.9.8)

time
2026-04-25 01:45 UTC · 6 months ago
machine
koh2
parent
ad53ccec2956
4 files manifest.firefox.json+2 −2manifest.json+1 −1package.json+1 −1vite.config.ts+1 −1
manifest.firefox.json+2 −2
@@ -1,7 +1,7 @@11 {22   "manifest_version": 3,33   "name": "Peach",4-  "version": "1.9.7",4+  "version": "1.9.8",55   "description": "Zero-knowledge password manager",66   "browser_specific_settings": {77     "gecko": {@@ -17,7 +17,7 @@1717     }1818   },1919   "background": {20-    "service_worker": "src/background/entry.ts",20+    "scripts": ["src/background/entry.ts"],2121     "type": "module"2222   },2323   "content_scripts": [

view file

manifest.json+1 −1
@@ -1,7 +1,7 @@11 {22   "manifest_version": 3,33   "name": "Peach",4-  "version": "1.9.7",4+  "version": "1.9.8",55   "description": "Zero-knowledge password manager",66   "action": {77     "default_popup": "src/popup/index.html",

view file

package.json+1 −1
@@ -1,6 +1,6 @@11 {22   "name": "peach",3-  "version": "1.9.7",3+  "version": "1.9.8",44   "description": "Zero-knowledge password manager",55   "type": "module",66   "scripts": {

view file

vite.config.ts+1 −1
@@ -9,7 +9,7 @@99 const passkeyE2E = process.env.PEACH_E2E_PASSKEYS === "1";1010 1111 export default defineConfig({12-  plugins: [solidPlugin(), crx({ manifest })],12+  plugins: [solidPlugin(), crx({ manifest, browser: target === "firefox" ? "firefox" : "chrome" })],1313   base: "./",1414   define: {1515     __PEACH_E2E_PASSKEYS__: JSON.stringify(passkeyE2E),

view file