Add stable extension ID for development builds

Inject manifest key via vite plugin for dev/test builds (not production).
This ensures all developers get the same extension ID: pebbngnfojnignonigcnkdilknapkgid

- Update vite.config.mts to inject key when !PRODUCTION
- Update release script to use PRODUCTION=true
- Replace old hardcoded dev extension ID in all files
This commit is contained in:
Tommy D. Rossi
2026-01-25 11:19:51 +01:00
parent 77ea5512d0
commit a15b06082b
8 changed files with 28 additions and 11 deletions
+1 -1
View File
@@ -961,7 +961,7 @@ async function resetDebugger(): Promise<void> {
// Our extension IDs - allow attaching to our own extension pages for debugging
const OUR_EXTENSION_IDS = [
'jfeammnjpkecdekppnclgkkffahnhfhe', // Production extension (Chrome Web Store)
'elnnakgjclnapgflmidlpobefkdmapdm', // Dev extension (loaded unpacked)
'pebbngnfojnignonigcnkdilknapkgid', // Dev extension (stable ID from manifest key)
]
// undefined URL is for about:blank pages (not restricted) and chrome:// URLs (restricted).