mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-11-02 22:21:41 +08:00
electron: Fix directory imports
This commit is contained in:
parent
bb19cc216b
commit
7fb3abb4ea
@ -69,7 +69,7 @@ await import('./services/scheduler.js');
|
||||
startScheduledCleanup();
|
||||
|
||||
if (utils.isElectron()) {
|
||||
(await import('@electron/remote/main')).initialize();
|
||||
(await import('@electron/remote/main/index.js')).initialize();
|
||||
}
|
||||
|
||||
export default app;
|
||||
|
||||
@ -7,7 +7,7 @@ import log from "./log.js";
|
||||
import sqlInit from "./sql_init.js";
|
||||
import cls from "./cls.js";
|
||||
import keyboardActionsService from "./keyboard_actions.js";
|
||||
import remoteMain from "@electron/remote/main"
|
||||
import remoteMain from "@electron/remote/main/index.js"
|
||||
import { App, BrowserWindow, WebContents, ipcMain } from 'electron';
|
||||
|
||||
import { fileURLToPath } from "url";
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user