diff --git a/src/core/mod.json b/src/core/mod.json
index 89318c9..109441d 100644
--- a/src/core/mod.json
+++ b/src/core/mod.json
@@ -78,5 +78,5 @@
   ],
   "clientStyles": ["variables.css", "../vendor/@unocss-preflight-tailwind.css"],
   "clientScripts": ["client.mjs"],
-  "electronScripts": [[".webpack/main/index", "electron.cjs"]]
+  "electronScripts": [[".webpack/main/index.js", "electron.cjs"]]
 }
diff --git a/src/extensions/topbar/mod.json b/src/extensions/topbar/mod.json
index d308d4b..f8f1cb3 100644
--- a/src/extensions/topbar/mod.json
+++ b/src/extensions/topbar/mod.json
@@ -121,5 +121,5 @@
   ],
   "clientStyles": ["client.css"],
   "clientScripts": ["client.mjs"],
-  "electronScripts": [[".webpack/main/index", "electron.cjs"]]
+  "electronScripts": [[".webpack/main/index.js", "electron.cjs"]]
 }