1
0

auto-git:

[change] main.js
This commit is contained in:
Victor Giers
2025-11-27 11:36:36 +01:00
parent afa4aa722e
commit 64afe101f3

View File

@@ -2079,6 +2079,10 @@ function buildTrayMenu() {
// Monitoring-Start für fehlenden Ordner: Ignorieren!
return false;
}
if (monitoring && !fs.existsSync(path.join(folderPath, '.git'))) {
debug(`[STORE] Monitoring für ${folderPath} nicht möglich: kein Git-Repo`);
monitoring = false;
}
folders = folders.map(f =>
f.path === folderPath ? { ...f, monitoring } : f
);