Skip to content

Commit

Permalink
Set title when creating main window
Browse files Browse the repository at this point in the history
  • Loading branch information
tkleinke committed Feb 11, 2025
1 parent ecc9aa3 commit 6049e19
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions desktop/electron/main.js
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,8 @@ const createWindow = () => {
preload: require('path').join(electron.app.getAppPath(), 'electron/preload.js'),
webSecurity: global.mode === 'production'
},
titleBarStyle: 'hiddenInset'
titleBarStyle: 'hiddenInset',
title: 'Field Desktop'
});

remoteMain.enable(mainWindow.webContents);
Expand Down Expand Up @@ -284,8 +285,6 @@ const createWindow = () => {
electron.shell.openExternal(url);
return { action: 'deny' };
});

return mainWindow;
};


Expand Down

0 comments on commit 6049e19

Please sign in to comment.