Skip to content

Commit

Permalink
update serverutils to 2.2074
Browse files Browse the repository at this point in the history
  • Loading branch information
Cvolton committed Nov 14, 2024
1 parent 7e55c43 commit d1cd114
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions mod.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
"version": "v4.2.13",
"gd": {
"win": "2.2074",
"android": "2.206",
"mac": "2.206"
"android": "2.2074",
"mac": "2.2074"
},
"id": "cvolton.betterinfo",
"name": "BetterInfo",
Expand Down
16 changes: 8 additions & 8 deletions src/utils/ServerUtils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,17 +22,17 @@ std::string ServerUtils::getBaseURL() {
static_assert(GEODE_COMP_GD_VERSION == 22074, "Unsupported GD version");
originalUrl = (char*)(base::get() + 0x53ea48);
#elif defined(GEODE_IS_ARM_MAC)
static_assert(GEODE_COMP_GD_VERSION == 22060, "Unsupported GD version");
originalUrl = (char*)(base::get() + 0x78bf98);
static_assert(GEODE_COMP_GD_VERSION == 22074, "Unsupported GD version");
originalUrl = (char*)(base::get() + 0x7749fb);
#elif defined(GEODE_IS_INTEL_MAC)
static_assert(GEODE_COMP_GD_VERSION == 22060, "Unsupported GD version");
originalUrl = (char*)(base::get() + 0x875058);
static_assert(GEODE_COMP_GD_VERSION == 22074, "Unsupported GD version");
originalUrl = (char*)(base::get() + 0x8516bf);
#elif defined(GEODE_IS_ANDROID64)
static_assert(GEODE_COMP_GD_VERSION == 22060, "Unsupported GD version");
originalUrl = (char*)(base::get() + 0xE8D270);
static_assert(GEODE_COMP_GD_VERSION == 22074, "Unsupported GD version");
originalUrl = (char*)(base::get() + 0xEA2988);
#elif defined(GEODE_IS_ANDROID32)
static_assert(GEODE_COMP_GD_VERSION == 22060, "Unsupported GD version");
originalUrl = (char*)(base::get() + 0x944A78);
static_assert(GEODE_COMP_GD_VERSION == 22074, "Unsupported GD version");
originalUrl = (char*)(base::get() + 0x952E9E);
#else
static_assert(false, "Unsupported platform");
#endif
Expand Down

0 comments on commit d1cd114

Please sign in to comment.