Change the initial user directory creation to stop special casing Windows

This commit is contained in:
Pierre Bourdon
2013-09-11 03:53:36 +02:00
parent dfcef6890e
commit b587af3ea3
3 changed files with 25 additions and 14 deletions

View File

@ -38,6 +38,7 @@
// Shared data dirs (Sys and shared User for linux)
#ifdef _WIN32
#define SYSDATA_DIR "Sys"
#define SHARED_USER_DIR File::GetExeDirectory() + DIR_SEP USERDATA_DIR DIR_SEP
#elif defined __APPLE__
#define SYSDATA_DIR "Contents/Resources/Sys"
#define SHARED_USER_DIR File::GetBundleDirectory() + \