Electron persistent

  • Hi

    I have a store object that I work with and its data is loaded from the server. For simplicity, lets say the object is:

    user : {
       name: "";
       age: 0;

    when the user logs in to the web version, the app loads the data from the server into this object and all is good. When the user logs out, the object is forgotten until the next time he logs in and the app loads the data again.

    In electron mode (Windows), I want to store (encrypted) this data locally (in the same folder as the exe file) so the next time the user opens the app and logs in, the data will be loaded from that file instead of querying the server for it.

    Is there a quasar way to do it?

    bonus question:

    quasar build -m electron

    creates an exe file in Windows, if I want to create a MAC version, do I have to have a MAC for that?


Log in to reply