Upload via GUI (324 Dateien)

This commit is contained in:
2026-10-30 05:54:21 +00:00
parent f97ad783fb
commit e8b5d6b6e0
7 changed files with 503 additions and 17 deletions
+9 -1
View File
@@ -409,6 +409,14 @@ contextBridge.exposeInMainWorld('api', {
ipcRenderer.on('clip:hotkey', l);
return () => ipcRenderer.removeListener('clip:hotkey', l);
},
onStreamdeckAktion: (cb) => {
const l = (_e, d) => cb(d);
ipcRenderer.on('streamdeck:aktion', l);
return () => ipcRenderer.removeListener('streamdeck:aktion', l);
},
streamdeckInstalliere: () => ipcRenderer.invoke('streamdeck:installPlugin'),
streamdeckMeldung: (titel, text, fehler) => ipcRenderer.send('streamdeck:meldung', titel, text, !!fehler),
streamdeckFensterZeigen: () => ipcRenderer.send('streamdeck:fensterZeigen'),
onUiToast: (cb) => {
const l = (_e, t) => cb(t);
ipcRenderer.on('ui:toast', l);
@@ -446,7 +454,7 @@ contextBridge.exposeInMainWorld('api', {
ipcRenderer.on('recording:gameAudioChunk', l);
return () => ipcRenderer.removeListener('recording:gameAudioChunk', l);
},
recordingSetGuard: (active) => ipcRenderer.send('recording:guard', active),
recordingSetGuard: (active, instanceId) => ipcRenderer.send('recording:guard', active, instanceId),
onRecordCloseAttempt: (cb) => {
const l = () => cb();
ipcRenderer.on('record:closeAttempt', l);