feat: native drag of files out of the desktop app

This commit is contained in:
LukeGus committed 2026-11-06 09:30:10 -06:00
1 parent a055291fa4
commit 30db4f8024
4 files changed
+28

No files matched your search

+1
View File
@@ -91,6 +91,7 @@ contextBridge.exposeInMainWorld("electronAPI", {
ipcRenderer.invoke("create-temp-folder", folderData),
startDragToDesktop: (dragData) =>
ipcRenderer.invoke("start-drag-to-desktop", dragData),
startDragFiles: (tempIds) => ipcRenderer.send("start-drag-files", tempIds),
cleanupTempFile: (tempId) => ipcRenderer.invoke("cleanup-temp-file", tempId),
// Native web views placed over an element of the page (WebContentsView).