Added option for maximization of main window ( #133 ) - Fixed linting errors

This commit is contained in:
Bogdan Begovic 2016-03-22 18:16:34 +01:00
parent 7351c61664
commit 39e2459aad
1 changed files with 1 additions and 1 deletions

View File

@ -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));