1
0

[auto] change main.js

This commit is contained in:
2025-05-23 22:49:42 +02:00
parent d9e51d9821
commit 550e032aba

View File

@@ -118,7 +118,7 @@ function startMonitoringWatcher(folderPath, win) {
stabilityThreshold: 300,
pollInterval: 100
}
});
});
// TODO: Optionale .gitignore Logik nachrüsten
@@ -135,7 +135,7 @@ function startMonitoringWatcher(folderPath, win) {
debug(`[MONITOR] Starte initialen Commit-Check für ${folderPath}`);
const did = await autoCommit(
folderPath,
`[auto] ${event} ${folderPath}`
`[auto] startup ${path.relative(folderPath, folderPath)}`
);
if (did) {
win.webContents.send('repo-updated', folderPath);