summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorBerke Viktor <bviktor@hexchat.org>2012-10-04 14:53:55 +0200
committerBerke Viktor <bviktor@hexchat.org>2012-10-04 14:53:55 +0200
commitdf6e3fd9535eee221d56bd8c48fa458e67bb263c (patch)
treed5c0d735173746c08c4a2ed0d28e2ca57e2e994f
parent723486913f5df5742b72c629fa1353aceed93270 (diff)
Add note about special folder
-rw-r--r--src/htm/Main.cs5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/htm/Main.cs b/src/htm/Main.cs
index 5ecc2080..6a7cd4d2 100644
--- a/src/htm/Main.cs
+++ b/src/htm/Main.cs
@@ -57,6 +57,11 @@ namespace thememan
             }

             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");

 

                 if (!Directory.Exists(hexchatdir))