diff options
author | StormBytePP <stormbyte@gmail.com> | 2015-08-21 13:33:47 +0200 |
---|---|---|
committer | StormBytePP <stormbyte@gmail.com> | 2015-08-21 13:42:21 +0200 |
commit | c1319ef07d181c4e8ec8566aaa46193ee0c32222 (patch) | |
tree | 9e9077cc203d8aabb6ea8bfe33698af65018bb1a /src/tools/connection_patcher/Program.cpp | |
parent | 50bf874a770d97447beecb0456a6af262ce4e458 (diff) |
Core/Tools: Fix connection_patcher bnet folder location default in linux
Diffstat (limited to 'src/tools/connection_patcher/Program.cpp')
-rw-r--r-- | src/tools/connection_patcher/Program.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
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<std::string>().begin(), vm["modulePath"].as<std::string>().end()); |