Skip to content

Commit

Permalink
add mac server urls
Browse files Browse the repository at this point in the history
  • Loading branch information
Cvolton committed Jul 12, 2024
1 parent 68b9f63 commit df9095c
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions src/utils/ServerUtils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,12 @@ std::string ServerUtils::getBaseURL() {
#ifdef GEODE_IS_WINDOWS
static_assert(GEODE_COMP_GD_VERSION == 22060, "Unsupported GD version");
originalUrl = (char*)(base::get() + 0x5251d0);
#elif defined(GEODE_IS_MACOS)
static_assert(GEODE_COMP_GD_VERSION == 22000, "Unsupported GD version");
originalUrl = (char*)(base::get() + 0x83c079);
#elif defined(GEODE_IS_ARM_MAC)
static_assert(GEODE_COMP_GD_VERSION == 22600, "Unsupported GD version");
originalUrl = (char*)(base::get() + 0x78bf98);
#elif defined(GEODE_IS_INTEL_MAC)
static_assert(GEODE_COMP_GD_VERSION == 22600, "Unsupported GD version");
originalUrl = (char*)(base::get() + 0x875058);
#elif defined(GEODE_IS_ANDROID64)
static_assert(GEODE_COMP_GD_VERSION == 22060, "Unsupported GD version");
originalUrl = (char*)(base::get() + 0xE8D270);
Expand Down

0 comments on commit df9095c

Please sign in to comment.