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

Save/Load settings to/from a JSON file #3

Open
hvmonteiro opened this issue Apr 14, 2016 · 1 comment
Open

Save/Load settings to/from a JSON file #3

hvmonteiro opened this issue Apr 14, 2016 · 1 comment

Comments

@hvmonteiro
Copy link
Owner

hvmonteiro commented Apr 14, 2016

Application should be able to save it's settings in a JSON file stored in user's home, everytime it exits:

  • Linux: $HOME/.majin.json
  • Windows: %USERAPPDATA%\Majin\settings.json"
  • OSX: $HOME/.majin.json

Things to be saved:

  • Window position + size
  • Window resize option
  • Last URL
  • Stay On Top setting
  • Close To Tray setting
  • Minimize to Tray
  • Auto-Hide Menu Bar
  • Window Showing/Start In Tray
@hvmonteiro hvmonteiro added this to the Version 2.0 milestone Apr 17, 2016
@hvmonteiro hvmonteiro changed the title Application should be able to save it's settings in a JSON file Save/Load settings to/from a JSON file Apr 17, 2016
hvmonteiro pushed a commit that referenced this issue Dec 19, 2018
Fix `less-watch` not firing
@hvmonteiro
Copy link
Owner Author

https://www.npmjs.com › package › electron-store

electron-store is a module that handles data saving and loading for your Electron app or module. It supports JSON Schema validation, migrations, encryption, and more options to customize your config file.

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

No branches or pull requests

1 participant