Closed Armaldio closed 4 years ago
Could you show the full code that produces this error?
const { app, BrowserWindow } = require('deskgap');
app.once('ready', () => {
let mainWindow = new BrowserWindow({
width : 1280,
height: 720,
});
mainWindow.loadURL('https://discordapp.com/channels/@me');
mainWindow.setMenu(null);
// mainWindow.setMenu(null);
// mainWindow.maximize();
mainWindow.on('closed', () => {
mainWindow = null;
});
});