From 1772e9d53bccd6c2484b370c19564799948ff6a0 Mon Sep 17 00:00:00 2001 From: Victor Giers Date: Sun, 1 Jun 2025 05:37:05 +0200 Subject: [PATCH] Increase settings window width and add placeholder code blocks --- main.js | 28 +++++++++++++++++++++++++++- 1 file changed, 27 insertions(+), 1 deletion(-) diff --git a/main.js b/main.js index 366c5c4..6d6b2ed 100644 --- a/main.js +++ b/main.js @@ -115,7 +115,7 @@ function openSettings(win) { settingsWin = new BrowserWindow({ parent: win, modal: true, - width: 450, + width: 600, height: 450, resizable: false, webPreferences: { @@ -1191,6 +1191,16 @@ function buildTrayMenu() { ipcMain.handle('get-skip-git-prompt', () => store.get('skipGitPrompt')); ipcMain.handle('set-skip-git-prompt', (_e,val) => store.set('skipGitPrompt', val)); + + + + + + + + + + // Auto-Verzeichnisstruktur const IGNORED_NAMES = [ '.DS_Store', 'node_modules', '.git', 'dist', 'build', @@ -1226,6 +1236,17 @@ function buildTrayMenu() { } }); + + + + + + + + + +/* + ipcMain.handle('commit-current-folder', async (_e, folderObj, message) => { if (folderObj.needsRelocation || !fs.existsSync(folderObj.path)) { return {}; @@ -1310,6 +1331,11 @@ function buildTrayMenu() { } }); +*/ + + + + ipcMain.handle('set-monitoring', async (_e, folderPath, monitoring) => { let folders = store.get('folders') || []; const folderObj = folders.find(f => f.path === folderPath);