Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- const createWindow = () => {
- let win = new BrowserWindow({width: 1366, height: 768, backgroundColor: '#333'});
- win.loadURL(url.format({
- pathname: path.join(process.cwd(), 'view/index.html'),
- protocol: 'file:',
- slashes: true
- }));
- };
Add Comment
Please, Sign In to add comment