1
0

Comment out unused code in main.js

This commit is contained in:
2025-05-31 20:49:08 +02:00
parent a4956b3488
commit 9c309b8f18

View File

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