4 ms·
Be aware that this is not the case of an app "breaking out of the browser": BrowserWindow = require('electron').BrowserWindow . . . mainWindow = new
by HugoDaniel 10y ago
Be aware that this is not the case of an app "breaking out of the browser":
BrowserWindow = require('electron').BrowserWindow
.
.
.
mainWindow = new BrowserWindow {
width: 730
height: 590
icon: path.join __dirname, 'icons', 'icon.png'
show: true
titleBarStyle: 'hidden-inset' if process.platform is 'darwin'
}
in https://github.com/yakyak/yakyak/blob/master/src/main.coffee https://github.com/yakyak/yakyak/blob/master/src/main.coffee
- SlashmanX 10y agoI would've assumed that code was implied by the whole 'It uses Electron' thing in your first comment. And it is breaking out of the browser seeing as you don't need to open a browser and type in a URL to view it.