mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-01-16 07:30:42 +01:00
Core/Tools: Fix connection_patcher bnet folder location default in linux
This commit is contained in:
@@ -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());
|
||||
|
||||
Reference in New Issue
Block a user