I have created an application with Vue and Node in Electron. I run the application using command yarn run electron:serve
. How can I get this application to start in full screen mode? Consider that even when the application is built, I want it to start it in full screen when .exe
file is executed.
Asked
Active
Viewed 928 times
2

jonrsharpe
- 115,751
- 26
- 228
- 437

Haris Qureshi
- 27
- 5
1 Answers
0
You can just use .maximize() on the main process. You can add conditions if you only want to use it in prod

Andrainiony
- 17
- 7