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

On Windows, look for the .attract directory in user's home by default #596

Open
bskendig opened this issue Jan 19, 2020 · 4 comments
Open

Comments

@bskendig
Copy link

bskendig commented Jan 19, 2020

On Windows, please have Attract-Mode default to getting its config files from %userprofile%\.attract.

The Attract-Mode readme (https://github.com/mickelson/attract/blob/v2.6.1/Readme.md) says: "By default, Attract-Mode will look for its configuration files in the "$HOME/.attract" directory on Linux and Mac OS X, and in the current working directory on Windows." The current working directory on Windows isn't very useful, because when you launch attract.exe by double-clicking on it from Windows Explorer, that'll probably be the attract-v2.6.1-win64 directory itself. The .attract directory in your home directory will be ignored, and a bunch of default config files will be created in attract-v2.6.1-win64.

Using .attract in the user's home by default means that I can upgrade Attract-Mode and run the new version without having to remember to create a shortcut and add --config %userprofile%\.attract to it every time.

@mentat51
Copy link

Hello.

I use attract mode in a portable way, on an usb disk. So for me, the actual path is ok. If any change is made to use userprofile, it break my usage.

Thanks for all your work, attract mode is great !

@bskendig
Copy link
Author

bskendig commented Apr 22, 2020

You could have it default to looking in %userprofile%\.attract first, and if those files aren't present, then using the application directory. Or even vice-versa. As long as it doesn't default to creating new config files when config files already exist under the home directory.

@rogalian
Copy link

I understand the correct place on Windows is eithebvr %APPDATA% or %LOCALAPPDATA%, possibly even %ALLUSERSPROFILE%. Not %USERPROFILE%

@bskendig
Copy link
Author

bskendig commented Jul 21, 2020

@rogalian Sure, that's fine too, as long as it's documented.

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

No branches or pull requests

3 participants