add setting to prevent sleep on playback (#1072)

This commit is contained in:
jeffvli 2025-09-06 00:56:06 -07:00
parent 40fb5ba916
commit b00305cc86
7 changed files with 114 additions and 0 deletions

View file

@ -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,
};