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

[REQUEST] make Yana portable #1

Open
badrelmers opened this issue Nov 27, 2020 · 2 comments
Open

[REQUEST] make Yana portable #1

badrelmers opened this issue Nov 27, 2020 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@badrelmers
Copy link

Is your feature request related to a problem? Please describe.
Yana actually saves the config file in APPDATA D:\Users\myuser\AppData\Roaming\yana\workspaces.json , when I format I will lose all my config.

Describe the solution you'd like
I hope you can make Yana portable so we can have the config file in a defined place by the user.

Additional context
generally all electron apps I used before recognize the --user-data-dir command line flag. but Yana did not recognize it, this can solve the problem of portability too.

Thank you for this wonderful application, I love the Monaco editor + markdown

@badrelmers badrelmers added the enhancement New feature or request label Nov 27, 2020
@lukasbach
Copy link
Owner

I've looked into this, apparently Electron doesn't support that flag out of the box, so it'd had to be manually implemented, which is not that easy with the current app structure. I'll keep this open, but that's not my highest prio atm.

The workspaces.json file just contains settings and the locations of workspaces, the most important information like the actual notes are stored at the customizable workspace locations, so I hope that the case of formatting does not cause too much effort.

@badrelmers
Copy link
Author

I'll keep this open, but that's not my highest prio atm.

thank you

I hope that the case of formatting does not cause too much effort.

yes that is true

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants