feat: aggiunge drag & drop di cartelle e file zip per lo smistamento
This commit is contained in:
@@ -3,6 +3,7 @@ const { contextBridge, ipcRenderer } = require('electron');
|
||||
contextBridge.exposeInMainWorld('api', {
|
||||
selectFolder: () => ipcRenderer.invoke('select-folder'),
|
||||
selectZip: () => ipcRenderer.invoke('select-zip'),
|
||||
processDroppedPath: (path) => ipcRenderer.invoke('process-dropped-path', { path }),
|
||||
getDestination: () => ipcRenderer.invoke('get-destination'),
|
||||
selectDestinationFolder: () => ipcRenderer.invoke('select-destination-folder'),
|
||||
updateDestination: (destination) => ipcRenderer.invoke('update-destination', { destination }),
|
||||
|
||||
Reference in New Issue
Block a user