Closed 0xpsi closed 3 years ago
@0xpsi the custom enzymes are currently saved in the electron browser's localStorage
Does that answer your question?
@0xpsi the custom enzymes are currently saved in the electron browser's localStorage
Does that answer your question?
hm, I'm not sure how to find that. I guess the root of my question is, how can I copy and backup custom enzymes, for example if I want to move them to another ove-electron instance on another computer?
Hey @0xpsi here are steps for doing what you want:
From the OVE application, go to View > Toggle Developer Tools
:
Then paste the following into the console:
copy('var data = '+JSON.stringify(localStorage)+';Object.keys(data).forEach(function (k){localStorage.setItem(k, data[k]);});');
It should look like so:
Paste the copied text wherever you like (notes app or dropbox or some other shared file between computers)
To get the list onto your other computer open the Developer tools again and in the console, run the copied text
That should look like:
Voila!
You just copied your localStorage to a new computer!
Let me know if that works for you (I tried it and it worked for me)
NOTE: My answer is ripped off from this stack overflow answer: https://stackoverflow.com/a/54473783/2178112
thank you, it does appear to work.
Could we leave this issue open until a user-friendly option is available? Or if I should open a new issue for that. I think this is reasonably important, it seems like that functionality should be user configurable.
thanks for the quick replies
@0xpsi could you close this issue and create a new one specific to setting up a more user friendly way to do it?
@tnrich yah no problem
Where is the application main settings folder? For example where custom enzymes would appear. (Specifically on linux)
sorry if this is not the appropriate place to ask this, I couldn't find it in any docs or see a place to ask.