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:
parent
fed6afa794
commit
a6478ee8e6
1 changed files with 6 additions and 0 deletions
|
@ -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 = '';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue