From c1319ef07d181c4e8ec8566aaa46193ee0c32222 Mon Sep 17 00:00:00 2001 From: StormBytePP Date: Fri, 21 Aug 2015 13:33:47 +0200 Subject: Core/Tools: Fix connection_patcher bnet folder location default in linux --- src/tools/connection_patcher/Program.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/tools/connection_patcher/Program.cpp') diff --git a/src/tools/connection_patcher/Program.cpp b/src/tools/connection_patcher/Program.cpp index 08ea8d3a0f7..e0ba3fdd76e 100644 --- a/src/tools/connection_patcher/Program.cpp +++ b/src/tools/connection_patcher/Program.cpp @@ -201,7 +201,8 @@ int main(int argc, char** argv) if ((tempPath = getenv("HOME")) == nullptr) tempPath = getpwuid(getuid())->pw_dir; std::string tempPathStr(tempPath); - appDataPath.assign(tempPathStr.begin(), tempPathStr.end()) + std::wstring(L"/.wine/drive_c/users/Public/Application Data"); + appDataPath.assign(tempPathStr.begin(), tempPathStr.end()); + appDataPath += std::wstring(L"/.wine/drive_c/users/Public/Application Data"); #endif if (vm.count("modulePath")) appDataPath.assign(vm["modulePath"].as().begin(), vm["modulePath"].as().end()); -- cgit v1.2.3