Increase settings window width and add placeholder code blocks
This commit is contained in:
28
main.js
28
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);
|
||||
|
||||
Reference in New Issue
Block a user