XDG gang, rise up!
Also, I know that this community and dot-files in general are Unix based, but this holds true for Windows development as well. You should be putting app files in the users' %APPDATA%
directory, not their user folder. It's probably even more important since Windows doesn't autohide dot files.
Not one of those things is illegal.
Some are against a site’s TOS and some are outright fine.