Document build script to avoid regressions
This commit is contained in:
6
main.js
6
main.js
@@ -34,14 +34,11 @@ if (Array.isArray(folders)) {
|
||||
// Map zum Speichern der Watcher pro Ordner
|
||||
const repoWatchers = new Map();
|
||||
|
||||
|
||||
|
||||
// Debug Helper
|
||||
function debug(msg) {
|
||||
console.log(`[DEBUG ${new Date().toISOString()}] ${msg}`);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Erstellt das BrowserWindow und lädt index.html.
|
||||
* Gibt das Window-Objekt zurück.
|
||||
@@ -62,7 +59,6 @@ function createWindow() {
|
||||
return win;
|
||||
}
|
||||
|
||||
|
||||
// Settings-Fenster
|
||||
let settingsWin;
|
||||
function openSettings(win) {
|
||||
@@ -86,7 +82,6 @@ function openSettings(win) {
|
||||
settingsWin.on('closed', () => settingsWin = null);
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Startet einen File-Watcher auf .git/refs/heads/master,
|
||||
* sendet bei Änderungen 'repo-updated' an den Renderer.
|
||||
@@ -117,7 +112,6 @@ async function initGitRepo(folder) {
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// Map für Monitoring-Watcher (nicht repoWatchers!)
|
||||
const monitoringWatchers = new Map();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user