Bug 249219. On windows, migrate .miCASA files to [homedir]\CASA.

This commit is contained in:
Jim Norman
2007-04-02 19:36:39 +00:00
parent a37d1294aa
commit 041353b40f
2 changed files with 17 additions and 10 deletions

View File

@@ -491,7 +491,7 @@ public class Common
if (Common.IS_LINUX)
return (config.GetConfigSetting(CONFIG_PERSISTENT_DIRECTORY, "/home/.casa/" + GetUserName()));
else
return (config.GetConfigSetting(CONFIG_PERSISTENT_DIRECTORY, GetUserHomeDir()));
return (config.GetConfigSetting(CONFIG_PERSISTENT_DIRECTORY, GetUserHomeDir() + "\\CASA"));
}
internal static void SetUserPersistentDir(Config config, string sNewDirectory)