We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4395d6e commit ab81d01Copy full SHA for ab81d01
desktop/main.mjs
@@ -1,6 +1,6 @@
1
import { app, BrowserWindow, dialog, ipcMain } from "electron";
2
import serve from "electron-serve";
3
-import { join } from "path";
+import path from "path";
4
import { fileURLToPath } from "url";
5
import { nativeTheme } from "electron/main";
6
@@ -13,7 +13,7 @@ const __filename = fileURLToPath(import.meta.url);
13
const __dirname = path.dirname(__filename);
14
15
const appServe = serve({
16
- directory: join(process.resourcesPath, "app/out-next"),
+ directory: path.join(process.resourcesPath, "app/out-next"),
17
});
18
19
const createWindow = () => {
0 commit comments