I am encountering an issue with Ubuntu where the maximize screen button is not visible when compiling the Electron project. When I say "compile," I am referring to running
electron build => ng build --configuration=dev && electron
. My version of Electron is 4.0.1.
Here is a screenshot for reference:
https://i.stack.imgur.com/MChbP.png
The content of my main.js
file is as follows:
fu let win: any window() {
win = new BrowserWindow({
// width: 1024,
// height: 768,
minWidth: 1024,
minHeight: 768,
// center: true,
webPreferences: {
nodeIntegration: true
},
resizable: true
});
// win = new Browser Window({ fullscreen: true })
I have attempted to explicitly set maximizable: true
.