1
0
Fork 0
mirror of https://github.com/anyproto/anytype-ts.git synced 2025-06-08 05:57:02 +09:00

powermonitor logs

This commit is contained in:
Andrew Simachev 2023-04-29 11:36:22 +02:00
parent fed6afa794
commit a6478ee8e6
No known key found for this signature in database
GPG key ID: 49A163D0D14E6FD8

View file

@ -32,8 +32,14 @@ if (process.defaultApp) {
app.setAsDefaultProtocolClient(protocol);
};
powerMonitor.on('suspend', () => {
Util.log('info', '[PowerMonitor] suspend');
});
powerMonitor.on('resume', () => {
BrowserWindow.getAllWindows().forEach(win => win.webContents.reload());
Util.log('info', '[PowerMonitor] resume');
});
let deeplinkingUrl = '';