mirror of
https://github.com/zadam/trilium.git
synced 2025-10-29 17:26:38 +01:00
Merge branch 'feature/server_esm_part2' into feature/server_esm_part3
This commit is contained in:
@@ -8,6 +8,11 @@ import appIconService from "./src/services/app_icon.js";
|
||||
import windowService from "./src/services/window.js";
|
||||
import tray from "./src/services/tray.js";
|
||||
|
||||
// Prevent Trilium starting twice on first install and on uninstall for the Windows installer.
|
||||
if (require('electron-squirrel-startup')) {
|
||||
process.exit(0);
|
||||
}
|
||||
|
||||
// Adds debug features like hotkeys for triggering dev tools and reload
|
||||
electronDebug();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user