TagSpaces is an offline, open source, document manager with tagging support
fix delete file in network drive
Stanimir710926dafb9d
diff --git a/src/main/mainEvents.ts b/src/main/mainEvents.tsindex 4d88a3aa6..2c42b1354 100644--- a/src/main/mainEvents.ts+++ b/src/main/mainEvents.ts@@ -461,7 +461,7 @@ export default function loadMainEvents() {},);ipcMain.handle('deleteFilePromise', async (event, path, useTrash) => {- if (useTrash) {+ if (useTrash && !path.startsWith('\\')) {try {await shell.trashItem(path);return true;