mirror of
https://github.com/Termix-SSH/Termix.git
synced 2026-11-07 02:55:24 +00:00
feat: native drag of files out of the desktop app
This commit is contained in:
1 parent
a055291fa4
commit
30db4f8024
4 files changed
+28
No files matched your search
@@ -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).
|
||||
|
||||
Reference in new issue
Block a user