Hide frame on Win and Linux
This commit is contained in:
parent
1baf040b89
commit
b0687426dd
1 changed files with 1 additions and 0 deletions
|
|
@ -79,6 +79,7 @@ require('./menu.js')
|
||||||
function createWindow() {
|
function createWindow() {
|
||||||
// Create the browser window.
|
// Create the browser window.
|
||||||
mainWindow = new BrowserWindow({
|
mainWindow = new BrowserWindow({
|
||||||
|
frame: (process.platform !== 'darwin') ? false : true,
|
||||||
width: 1124,
|
width: 1124,
|
||||||
height: 800,
|
height: 800,
|
||||||
icon: path.join(__dirname, '/icons/png/64x64.png')
|
icon: path.join(__dirname, '/icons/png/64x64.png')
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue