Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gulp serve or electron restart do not maximize window #46

Open
niwasmala opened this issue Jun 9, 2016 · 0 comments
Open

Gulp serve or electron restart do not maximize window #46

niwasmala opened this issue Jun 9, 2016 · 0 comments

Comments

@niwasmala
Copy link

In the browser process's main.js, i have

const client = require("electron-connect").client;

//snip
mainWindow = new BrowserWindow({width: 400, height: 600});
mainWindow.maximizable();

client.create(mainWindow);

Similar to issue #30, after running "gulp serve" or on electron.restart(), I would expect to see the displayed window to have maximized, but it is not. However, when I run "electron .", the window maximized.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant