When doing a manual export to PC/Mac, you get access to the code of the exported game. You should have a .Js file and a directory with the almost the same files as a local HTML export.
In the Js file (main.js), you should have this somewhere:
mainWindow = new BrowserWindow({
width: 800 /*GDJS_WINDOW_WIDTH*/,
height: 600 /*GDJS_WINDOW_HEIGHT*/,
useContentSize: true,
title: "GDJS_GAME_NAME",
backgroundColor: '#000000',
webPreferences: {
nodeIntegration: true,
}
});
You only need to pass a simple parameter to disable the frame:
mainWindow = new BrowserWindow({
frame: false,
width: 800 /*GDJS_WINDOW_WIDTH*/,
height: 600 /*GDJS_WINDOW_HEIGHT*/,
useContentSize: true,
title: "GDJS_GAME_NAME",
backgroundColor: '#000000',
webPreferences: {
nodeIntegration: true,
}
});
I think I’ll try to add this to the engine in the future, i saw that being requested a lot.