summaryrefslogtreecommitdiff
path: root/Source/Core
diff options
context:
space:
mode:
authorSoren Jorvang <soren.jorvang@gmail.com>2010-07-22 08:09:14 +0000
committerSoren Jorvang <soren.jorvang@gmail.com>2010-07-22 08:09:14 +0000
commit8d2ed5975ed0875c125fc280c2f68e4b575db591 (patch)
tree88affb5e3cd4423aa719946a8302545db4e286a9 /Source/Core
parent09b5dfbd5391429d2eb217855125b06b2226f32f (diff)
Use the Linux install hierarchy conventions on other Unices as well.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5946 8ced0084-cf51-0410-be5f-012b33b47a6e
Diffstat (limited to 'Source/Core')
-rw-r--r--Source/Core/DolphinWX/Src/Main.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/Source/Core/DolphinWX/Src/Main.cpp b/Source/Core/DolphinWX/Src/Main.cpp
index 7bffd25ba3..f7079eb273 100644
--- a/Source/Core/DolphinWX/Src/Main.cpp
+++ b/Source/Core/DolphinWX/Src/Main.cpp
@@ -232,7 +232,7 @@ bool DolphinApp::OnInit()
return false;
}
-#if ! defined(__APPLE__) && ! defined(__linux__)
+#ifdef _WIN32
// Keep the user config dir free unless user wants to save the working dir
if (!File::Exists((std::string(File::GetUserPath(D_CONFIG_IDX)) + "portable").c_str()))
{
@@ -307,9 +307,7 @@ bool DolphinApp::OnInit()
}
else if (!File::IsDirectory(AppSupportDir))
PanicAlert("~/Library/Application Support/Dolphin exists, but is not a directory");
-#endif
-
-#ifdef __linux__
+#else
//create all necessary directories in user directory
//TODO : detect the revision and upgrade where necessary
File::CopyDir(SHARED_USER_DIR CONFIG_DIR DIR_SEP, File::GetUserPath(D_CONFIG_IDX));