-
-
Notifications
You must be signed in to change notification settings - Fork 349
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
Don't create .urlwatch if not necessary #42
Comments
Yes, that's a good idea. It should use XDG on freedesktop.org-like systems, ~/Library/Application Support/ on OS X and %APPDATA% on Windows, but for compatibility with existing installations use ~/.urlwatch/ if it exists and the new location does not exist (if both exist, it can use the new location). New installations will also use the new location. |
You might want to use appdirs to implement this. |
Normally I'd say to just implement it yourself, since it's a tiny amount of code, but I guess if you want to support Windows it gets a lot more annoying to have to deal with. |
Add support for XDG_CONFIG_DIR by adding a dependency to appdir while keeping compatibility with the existing configuration location. Closes: thp#42
Add support for XDG_CONFIG_DIR by adding a dependency to appdir while keeping compatibility with the existing configuration location. Closes: thp#42
Add support for XDG_CONFIG_DIR by adding a dependency to appdir while keeping compatibility with the existing configuration location. Closes: thp#42
Add support for XDG_CONFIG_DIR by adding a dependency to appdir while keeping compatibility with the existing configuration location. Closes: thp#42
Add support for XDG_CONFIG_DIR by adding a dependency to appdir while keeping compatibility with the existing configuration location. Closes: thp#42
I move the config, url list, hooks file, and cache to other directories because I don't like having my home directory cluttered with dotdirectories unnecessarily, (consider implementing the XDG basedir spec instead..,) but urlwatch insists on creating the
.urlwatch
directory even if it isn't actually used.The text was updated successfully, but these errors were encountered: