Skip to content

Commit

Permalink
fix(client): fix some errors for downloading required files
Browse files Browse the repository at this point in the history
  • Loading branch information
Doxoh committed Apr 13, 2024
1 parent b5148cc commit 711ce58
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion client/src/coreclr/CoreClr.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ uint8_t GetCachedAssembly(const char* name, int* bufferSize, void** buffer) {
std::stringstream contentStream;
auto fileName = std::string("lib/net6.0/") + name + ".dll";
if (!zip.has_file(fileName)) {
cs::Log::Warning << "Nupkg was found, but no dll was found in it" << cs::Log::Endl;
cs::Log::Warning << "Nupkg was found, but no dll was found in it " << fileName << cs::Log::Endl;
zip.printdir();
return false;
}
Expand Down
1 change: 1 addition & 0 deletions client/src/coreclr/CoreClrValidation.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ namespace fs = std::filesystem;

std::string CoreClr::GetBaseCdnUrl() const {
static auto branch = _core->GetBranch();
if (branch == "internal") branch = "dev";
return "https://cdn.alt-mp.com/coreclr-client-module/" + branch + "/x64_win32/";
}

Expand Down

0 comments on commit 711ce58

Please sign in to comment.