Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- const electron = require('electron');
- const app = electron.app;
- app.on('ready', () => {
- createWindow();
- });
- app.on('window-all-closed', function() {
- app.quit();
- });
- function createWindow() {
- appWindow = new BrowserWindow({
- width: 300,
- height: 300
- });
- };
- const BrowserWindow = electron.BrowserWindow;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement