fix auto updater on macos

This commit is contained in:
dankmeme01 2024-06-25 19:41:04 +02:00
parent 4a044bc16a
commit d752bc2ca3

View file

@ -392,7 +392,7 @@ void updater::checkForLoaderUpdates() {
auto obj = asset.obj();
if (string::endsWith(
obj.needs("name").template get<std::string>(),
GEODE_PLATFORM_SHORT_IDENTIFIER ".zip"
fmt::format("{}.zip", PlatformID::toShortString(GEODE_PLATFORM_TARGET, true))
)) {
updater::downloadLoaderUpdate(
obj.needs("browser_download_url").template get<std::string>()