patrikx3/onenote

Unrecoverable after accessing help

xpusostomos opened this issue · 4 comments

I had a sync error and it pops up something about help or whatever. I click it, and it takes me to Microsoft web site inside the same frame. After this, I seem screwed I can't get back to onenote. I see little left and right < > down the bottom left, but they don't do anything. Closing and restarting the window takes me right back to Micrsoft 365 help. I can't see any kind of right click menu to go back. Basically the app seems bricked at this point.m

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.

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

@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.

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.