Remove frame
This commit is contained in:
parent
4d2243e6b5
commit
b5bdd42ae0
1 changed files with 2 additions and 1 deletions
|
@ -21,7 +21,8 @@ app.on('window-all-closed', function () {
|
||||||
app.on('ready', function () {
|
app.on('ready', function () {
|
||||||
mainWindow = new BrowserWindow({
|
mainWindow = new BrowserWindow({
|
||||||
width: 800,
|
width: 800,
|
||||||
height: 600
|
height: 600,
|
||||||
|
frame: false
|
||||||
});
|
});
|
||||||
console.log(__dirname);
|
console.log(__dirname);
|
||||||
mainWindow.loadUrl('file://' + __dirname + '/index.html');
|
mainWindow.loadUrl('file://' + __dirname + '/index.html');
|
||||||
|
|
Reference in a new issue