diff options
-rw-r--r-- | src/htm/Main.cs | 5 |
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)) |