We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 87a631f commit c819926Copy full SHA for c819926
3 files changed
apps/code/src/main/index.ts
@@ -1,6 +1,6 @@
1
import "reflect-metadata";
2
import os from "node:os";
3
-import { app, powerMonitor } from "electron";
+import { app } from "electron";
4
import log from "electron-log/main";
5
import "./utils/logger";
6
import "./services/index.js";
@@ -93,13 +93,6 @@ app.whenReady().then(async () => {
93
await initializeServices();
94
createWindow();
95
initializeDeepLinks();
96
- powerMonitor.on("suspend", () => {
97
- log.info("System entering sleep");
98
- });
99
-
100
- powerMonitor.on("resume", () => {
101
- log.info("System waking from sleep");
102
103
});
104
105
app.on("window-all-closed", () => {
0 commit comments