Skip to content
This repository was archived by the owner on Jun 24, 2025. It is now read-only.

Commit 7fb3abb

Browse files
committed
electron: Fix directory imports
1 parent bb19cc2 commit 7fb3abb

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/app.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ await import('./services/scheduler.js');
6969
startScheduledCleanup();
7070

7171
if (utils.isElectron()) {
72-
(await import('@electron/remote/main')).initialize();
72+
(await import('@electron/remote/main/index.js')).initialize();
7373
}
7474

7575
export default app;

src/services/window.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import log from "./log.js";
77
import sqlInit from "./sql_init.js";
88
import cls from "./cls.js";
99
import keyboardActionsService from "./keyboard_actions.js";
10-
import remoteMain from "@electron/remote/main"
10+
import remoteMain from "@electron/remote/main/index.js"
1111
import { App, BrowserWindow, WebContents, ipcMain } from 'electron';
1212

1313
import { fileURLToPath } from "url";

0 commit comments

Comments
 (0)