Add note about special folder

This commit is contained in:
Berke Viktor 2012-10-04 14:53:55 +02:00
parent 723486913f
commit df6e3fd953
1 changed files with 5 additions and 0 deletions

View File

@ -57,6 +57,11 @@ namespace thememan
} }
else else
{ {
/* Environment.SpecialFolder.ApplicationData
* Windows: %APPDATA%
* Unix: ~/.config
* Windows is case-insensitive so 'hexchat' should be fine for both
*/
hexchatdir = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData), "hexchat"); hexchatdir = Path.Combine(Environment.GetFolderPath(Environment.SpecialFolder.ApplicationData), "hexchat");
if (!Directory.Exists(hexchatdir)) if (!Directory.Exists(hexchatdir))