From 90d10fa4cb781119cd0b4db7a9b20fa1a31c764b Mon Sep 17 00:00:00 2001 From: Victor Giers Date: Mon, 26 May 2025 20:36:12 +0200 Subject: [PATCH] Update visibility condition for 'Open Folder' menu item --- main.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.js b/main.js index f26f5ec..7575ed9 100644 --- a/main.js +++ b/main.js @@ -1404,7 +1404,7 @@ ipcMain.on('show-tree-context-menu', (event, { absPath, relPath, root, type }) = { label: 'Open Folder', click: () => shell.openPath(absPath), - visible: type === 'folder' // Nur für Dateien anzeigen + visible: type === 'dir' // Nur für Dateien anzeigen }, { label: 'Copy File Path', @@ -1414,7 +1414,7 @@ ipcMain.on('show-tree-context-menu', (event, { absPath, relPath, root, type }) = { label: 'Copy Folder Path', click: () => clipboard.writeText(absPath), - visible: type === 'folder' // Nur für Dateien anzeigen + visible: type === 'dir' // Nur für Dateien anzeigen }, { label: 'Add to .gitignore',