mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-14 20:40:21 +02:00
add setting to prevent sleep on playback (#1072)
This commit is contained in:
@@ -8,7 +8,12 @@ const send = (channel: string, ...args: any[]) => {
|
||||
ipcRenderer.send(channel, ...args);
|
||||
};
|
||||
|
||||
const invoke = (channel: string, ...args: any[]) => {
|
||||
return ipcRenderer.invoke(channel, ...args);
|
||||
};
|
||||
|
||||
export const ipc = {
|
||||
invoke,
|
||||
removeAllListeners,
|
||||
send,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user