Added option for maximization of main window ( #133 ) - Fixed linting errors
This commit is contained in:
parent
7351c61664
commit
39e2459aad
|
@ -53,7 +53,7 @@ function createMainWindow(options, onAppQuit, setDockBadge) {
|
|||
}
|
||||
|
||||
// after first run, no longer force maximize to be true
|
||||
if(options.maximize){
|
||||
if (options.maximize) {
|
||||
mainWindow.maximize();
|
||||
options.maximize = undefined;
|
||||
fs.writeFileSync(path.join(__dirname, '..', 'nativefier.json'), JSON.stringify(options));
|
||||
|
|
Loading…
Reference in New Issue