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

Specifying path param won't work #63

Open
danivalls opened this issue Nov 2, 2020 · 0 comments
Open

Specifying path param won't work #63

danivalls opened this issue Nov 2, 2020 · 0 comments

Comments

@danivalls
Copy link

Hello!

I'm trying to save the file into a specific path using the path property as the documentation says, but it won't work for me. windowStateKeeper keeps saving the file in the default path (app.getPath('userData')).

This is how I'm trying to do it:

let mainWindowState = windowStateKeeper({
  path: app.getPath('documents'),
  file: 'window-state-my-app.json',
  defaultWidth: 1000,
  defaultHeight: 600
})

I guess I'm probably doing something wrong, any idea what could it be?

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