Skip to content

Commit

Permalink
Merge pull request #59 from vivekkj123/add-titlebar
Browse files Browse the repository at this point in the history
Don't hide titlebar and fix icon
  • Loading branch information
callmearta authored Jun 5, 2021
2 parents 5870870 + a4b1164 commit af05cfc
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,13 +39,15 @@ const createMainWindow = async () => {
show: false,
width: ws.width || 1020,
height: ws.height || 800,
minWidth: 1360,
minHeight: 800,
titleBarStyle: "hidden",
fullscreenable: true,
minWidth: 965,
minHeight: 500,
autoHideMenuBar: true, // Hides menubar on Top
titleBarStyle: os.platform() == "darwin" ? "hidden" : '',
fullscreenable: false,
isMaximized: ws.isMaximized,
frame: os.platform() == "linux" ? false : true,
icon: path.join(__dirname, "static/logo.png"),
frame: os.platform() == "darwin" ? false : true,
resizable: true,
icon: path.join(__dirname, "static/icon.png"),
webPreferences: {
nodeIntegration: true,
nodeIntegrationInSubFrames: true,
Expand Down

0 comments on commit af05cfc

Please # to comment.