Coder Social home page Coder Social logo

Comments (4)

xpusostomos avatar xpusostomos commented on June 14, 2024

Surely there must be some solution, even if it's the drastic thing of uninstalling, removing cache, I don't know. Surely there is a way to recover.

from onenote.

p3x-robot avatar p3x-robot commented on June 14, 2024

for me, in one version it happened, but i could restart and it worked, but now it works.

from onenote.

xpusostomos avatar xpusostomos commented on June 14, 2024

@p3x-robot well.... where does it store its user data? Surely, if I knew that, I could blow away its user data, and start up fresh.

from onenote.

p3x-robot avatar p3x-robot commented on June 14, 2024

In Electron, the electron-store module saves its data in a JSON file located in the Electron app's user data directory. The exact path of this directory depends on the operating system:

  1. macOS: ~/Library/Application Support/YourAppName
  2. Windows: C:\Users\YourUsername\AppData\Local\YourAppName
  3. Linux: ~/.config/YourAppName

Here, YourAppName is typically the name of your Electron app.

For example, if you have an Electron app named "MyCoolApp" and you're using electron-store, the data might be stored in a file like:

  • ~/Library/Application Support/MyCoolApp/Config.json on macOS
  • C:\Users\YourUsername\AppData\Local\MyCoolApp\Config.json on Windows
  • ~/.config/MyCoolApp/Config.json on Linux

You can also explicitly set a custom path or name for the storage file when initializing electron-store if you don't want to use the default.

Remember, the exact path might vary based on your app's settings and how you've set up electron-store.

from onenote.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.