We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7b78901 commit 572cb50Copy full SHA for 572cb50
gm_dotnet_native/dotnethelper-src/dotnethelper.cpp
@@ -186,9 +186,9 @@ extern "C" DYNANAMIC_EXPORT cleanup_function_fn InitNetRuntime(GarrysMod::Lua::I
186
#endif
187
dotnet_runtime_params.host_path = game_exe_path;
188
189
- std::filesystem::path dotnet_root_path = std::filesystem::current_path() / "garrysmod/lua/bin/dotnet";
+ std::filesystem::path dotnet_root_path = std::filesystem::current_path() / "garrysmod" / "lua" / "bin" / "dotnet";
190
#ifdef WIN32
191
- dotnet_runtime_params.dotnet_root = L"garrysmod/lua/bin/dotnet";
+ dotnet_runtime_params.dotnet_root = dotnet_root_path.native().c_str();
192
#else
193
dotnet_runtime_params.dotnet_root = dotnet_root_path.c_str();
194
0 commit comments