From 9c309b8f186f340c121af6388741a97a2cc37eb0 Mon Sep 17 00:00:00 2001 From: Victor Giers Date: Sat, 31 May 2025 20:49:08 +0200 Subject: [PATCH] Comment out unused code in main.js --- main.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.js b/main.js index aedd40b..6f1707f 100644 --- a/main.js +++ b/main.js @@ -936,9 +936,9 @@ function buildTrayMenu() { // 1) Beim Start bereits gespeicherte Ordner überwachen und monitoren const folders = store.get('folders') || []; folders.forEach(folderObj => { - if (fs.existsSync(path.join(folderObj.path, '.git', 'refs', 'heads', 'master'))) { + //if (fs.existsSync(path.join(folderObj.path, '.git', 'refs', 'heads', 'master'))) { //watchRepo(folderObj.path, win); - } + //} if (folderObj.monitoring) { startMonitoringWatcher(folderObj.path, win); }