tomighty icon indicating copy to clipboard operation
tomighty copied to clipboard

Use proper application data folder on Windows (AppData/Roaming)

Open rsnitsch opened this issue 12 years ago • 2 comments

Currently, tomighty stores configuration data etc. in %USERPROFILE%/.tomighty (e.g. C:\Users\Robert.tomighty).

The proper directory, however, is %APPDATA% (e.g. C:\Users\Robert\AppData\Roaming).

rsnitsch avatar Jun 14 '13 14:06 rsnitsch

This is a bug in Java itself: user.home is wrong on Windows.

This bug has been fixed in JDK 8.

See http://bugs.sun.com/view_bug.do?bug_id=4787931

rsnitsch avatar Jun 14 '13 14:06 rsnitsch

Thanks for reporting, I'll see what I can do to make it work on JDKs prior to 8.

ccidral avatar Jun 28 '13 12:06 ccidral