initial playback notification implementation
This commit is contained in:
parent
9d7251f20c
commit
bb431c7282
2 changed files with 23 additions and 9 deletions
|
@ -80,7 +80,12 @@ const CiderBase = {
|
|||
// Register listeners on Window to track size and position of the Window.
|
||||
mainWindowState.manage(win);
|
||||
|
||||
// IPC stuff
|
||||
// IPC stuff (senders)
|
||||
ipcMain.once("cider-platform", (event) => {
|
||||
event.returnValue = process.platform
|
||||
})
|
||||
|
||||
// IPC stuff (listeners)
|
||||
|
||||
ipcMain.on('close', () => { // listen for close event
|
||||
win.close();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue