feat: aggiunge drag & drop di cartelle e file zip per lo smistamento

This commit is contained in:
2026-03-05 16:30:03 +01:00
parent 4ab1214171
commit 8edc2673b3
4 changed files with 110 additions and 0 deletions

View File

@@ -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 }),