[auto] change main.js
This commit is contained in:
4
main.js
4
main.js
@@ -118,7 +118,7 @@ function startMonitoringWatcher(folderPath, win) {
|
|||||||
stabilityThreshold: 300,
|
stabilityThreshold: 300,
|
||||||
pollInterval: 100
|
pollInterval: 100
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
// TODO: Optionale .gitignore Logik nachrüsten
|
// TODO: Optionale .gitignore Logik nachrüsten
|
||||||
|
|
||||||
@@ -135,7 +135,7 @@ function startMonitoringWatcher(folderPath, win) {
|
|||||||
debug(`[MONITOR] Starte initialen Commit-Check für ${folderPath}`);
|
debug(`[MONITOR] Starte initialen Commit-Check für ${folderPath}`);
|
||||||
const did = await autoCommit(
|
const did = await autoCommit(
|
||||||
folderPath,
|
folderPath,
|
||||||
`[auto] ${event} ${folderPath}`
|
`[auto] startup ${path.relative(folderPath, folderPath)}`
|
||||||
);
|
);
|
||||||
if (did) {
|
if (did) {
|
||||||
win.webContents.send('repo-updated', folderPath);
|
win.webContents.send('repo-updated', folderPath);
|
||||||
|
|||||||
Reference in New Issue
Block a user