1
0

auto-git:

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

View File

@@ -77,6 +77,13 @@ folders = folders.map(f => ({
...f,
needsRelocation: !fs.existsSync(f.path)
}));
folders = folders.map(f => {
const hasGit = fs.existsSync(path.join(f.path, '.git'));
return {
...f,
monitoring: (f.monitoring && hasGit && !f.needsRelocation)
};
});
store.set('folders', folders);
console.log("Startup-Folders:", store.get('folders'));