Add native media save dialog and bump cinny submodule.
All checks were successful
All checks were successful
Wire Electron/Tauri save-file IPC for desktop downloads and update the cinny submodule with username colors, release notes, and account profile layout fixes.
This commit is contained in:
@@ -104,6 +104,12 @@ contextBridge.exposeInMainWorld('electron', {
|
||||
readImage: () => ipcRenderer.invoke('read-clipboard-image'),
|
||||
writeText: (text) => ipcRenderer.invoke('write-clipboard-text', text)
|
||||
},
|
||||
|
||||
// Media save (native Save dialog for images / videos / files)
|
||||
media: {
|
||||
saveFile: ({ filename, mimeType, data }) =>
|
||||
ipcRenderer.invoke('media:save-file', { filename, mimeType, data }),
|
||||
},
|
||||
// Audio
|
||||
audio: {
|
||||
playNotificationSound: (soundType = 'message') => ipcRenderer.invoke('play-notification-sound', soundType),
|
||||
|
||||
Reference in New Issue
Block a user