Describe the bug
When the window is maximized, the button in the upper right corner that controls the window maximization does not change, and no maximization button is displayed.
To Reproduce
Steps to reproduce the behavior:
change window maximization at main.js, setting mainWindow.maximize(), BrowserWindow.maximize = true
launch the electron app.
See error
Expected behavior
When the window is maximized, the button in the upper right corner that controls the window maximization could change
Describe the bug When the window is maximized, the button in the upper right corner that controls the window maximization does not change, and no maximization button is displayed.
To Reproduce Steps to reproduce the behavior:
Expected behavior When the window is maximized, the button in the upper right corner that controls the window maximization could change
Screenshots
Desktop