Bazaa/Updater : fix home config folder for windows

git-svn-id: svn://ultimatepp.org/upp/trunk@3016 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
micio 2011-01-16 00:01:51 +00:00
parent 055f73a345
commit 6c13ae14e0

View file

@ -74,7 +74,7 @@ Updater::Updater()
#ifdef PLATFORM_POSIX
userConfigPath = "/home/" + user + "./" + appName + "/";
#else
userConfigPath = GetHomeDirectory() + "./" + appName + "/";
userConfigPath = GetAppDataFolder() + "/" + appName + "/";
#endif
// gets app's system config path