Upload via GUI (50 Dateien)

This commit is contained in:
2026-09-29 07:09:26 +00:00
parent ee0e6dec32
commit d268e548f5
11 changed files with 1436 additions and 49 deletions
+22 -1
View File
@@ -279,8 +279,29 @@ contextBridge.exposeInMainWorld('api', {
// Spielaufzeichnung
recordingListWindows: () => ipcRenderer.invoke('recording:listWindows'),
recordingGetAudioSourceId: () => ipcRenderer.invoke('recording:getAudioSourceId'),
recordingSave: (instanceName, buffer, serverLabel) => ipcRenderer.invoke('recording:save', instanceName, buffer, serverLabel),
recordingSave: (instanceName, buffer, serverLabel, fps) => ipcRenderer.invoke('recording:save', instanceName, buffer, serverLabel, fps),
recordingOpenFolder: (instanceName) => ipcRenderer.invoke('recording:openFolder', instanceName),
recordingList: (instanceName) => ipcRenderer.invoke('recording:list', instanceName),
recordingThumbnail: (instanceName, dateiname) => ipcRenderer.invoke('recording:thumbnail', instanceName, dateiname),
recordingDelete: (instanceName, dateiname) => ipcRenderer.invoke('recording:delete', instanceName, dateiname),
recordingOpen: (instanceName, dateiname) => ipcRenderer.invoke('recording:open', instanceName, dateiname),
// Freundesystem
friendsEnabled: () => ipcRenderer.invoke('friends:enabled'),
friendsList: () => ipcRenderer.invoke('friends:list'),
friendsRequests: () => ipcRenderer.invoke('friends:requests'),
friendsAdd: (targetUsername) => ipcRenderer.invoke('friends:add', targetUsername),
friendsRespond: (otherUuid, accept) => ipcRenderer.invoke('friends:respond', otherUuid, accept),
friendsRemove: (otherUuid) => ipcRenderer.invoke('friends:remove', otherUuid),
friendsSentRequests: () => ipcRenderer.invoke('friends:sentRequests'),
friendsCancel: (otherUuid) => ipcRenderer.invoke('friends:cancel', otherUuid),
friendsSetNickname: (uuid, nickname) => ipcRenderer.invoke('friends:setNickname', uuid, nickname),
friendsRequestCount: () => ipcRenderer.invoke('friends:requestCount'),
onFriendsRequestCount: (cb) => {
const l = (_e, zahl) => cb(zahl);
ipcRenderer.on('friends:requestCount', l);
return () => ipcRenderer.removeListener('friends:requestCount', l);
},
recordingGetServer: (instanceId) => ipcRenderer.invoke('recording:getServer', instanceId),
onRecordingServerDetected: (cb) => {
const l = (_e, payload) => cb(payload);