-
-
Notifications
You must be signed in to change notification settings - Fork 79
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
Feature Request: use default directory
if not specified
#68
Comments
Hello @namespaceYcZ Yes this a thing that is planned for later, a dedicated directory inside the system would be great. It is not implemeted yet because I don't know how make it cross-platform. But your solution seems good to me, I'll look into it further. Have you tried using the Have a great day PS: do you have more knowledge on how to implement those things? I have some questions |
I tried. Both these two ways work fine for me: Thank you for your nice work! I have been longing for a tui Postman-like application for a long time. What kind of knowledge do you need? I'm very glad to help but I lack experience and necessary knowledge. |
I do not understand how the directory gets created, does I need to always try to create the directory when using the app ? Or does it needs something specific when installing? Will it work with the Thanks in advance |
I think the |
Please also consider that in addition of that, people might expect to respect XDG_CONFIG_HOME and XDG_DATA_HOME https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html Does this crate respect that? |
|
Now ATAC (version 0.15.1) must be given a working directory on startup.
IMHO, a tui application can use the default directory specified by the OS, i.e:
/home/alice/.config/barapp
/home/alice/.cache/barapp
C:\Users\Alice\AppData\Roaming\Foo Corp\Bar App\config
C:\Users\Alice\AppData\Local\Foo Corp\Bar App\cache
/Users/Alice/Library/Application Support/com.Foo-Corp.Bar-App
/Users/Alice/Library/Caches/com.Foo-Corp.Bar-App
(Suppose the user name is
Alice
, the organization name isFoo Corp
and the application name isBar App
).All this can be easily handled by the
directory
crate:The text was updated successfully, but these errors were encountered: