From 222d544f88d716227de0d2f57e1be08981f581dc Mon Sep 17 00:00:00 2001 From: dragonwocky Date: Mon, 22 Apr 2024 23:06:07 +1000 Subject: [PATCH] fix: add .js to electronScripts paths so they actually load in --- src/core/mod.json | 2 +- src/extensions/topbar/mod.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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"]] }