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

Commit ae80a74

Browse files
committed
electron: Fix not starting due to squirrel
1 parent 6006d01 commit ae80a74

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

electron.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import windowService from "./src/services/window.js";
99
import tray from "./src/services/tray.js";
1010

1111
// Prevent Trilium starting twice on first install and on uninstall for the Windows installer.
12-
if (await import('electron-squirrel-startup')) {
12+
if ((await import('electron-squirrel-startup')).default) {
1313
process.exit(0);
1414
}
1515

0 commit comments

Comments
 (0)