From 38f83996ac8db507f43c2c03be199f8fce40dfb0 Mon Sep 17 00:00:00 2001 From: Explodingbill Date: Tue, 20 Feb 2024 15:08:55 +1100 Subject: [PATCH] fd --- mod.json | 2 +- src/main.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/mod.json b/mod.json index 0300d7f..694eb32 100644 --- a/mod.json +++ b/mod.json @@ -26,7 +26,7 @@ "default": 128, "min": 1, "max": 512, - "platforms": [ "macos", "windows" ] + "platforms": [ "macos" ] }, "apply-profiles": { "name": "Apply to Profiles", diff --git a/src/main.cpp b/src/main.cpp index 82887df..ad75077 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -165,7 +165,7 @@ class $modify(ProfilePage) { } } - #ifndef GEODE_IS_MACOS + #ifdef GEODE_IS_MACOS auto l = reinterpret_cast(this->getChildren()->objectAtIndex(0)); auto size = ccp(reinterpret_cast(l->getChildren()->objectAtIndex(0))->getContentSize().width, reinterpret_cast(l->getChildren()->objectAtIndex(0))->getContentSize().height); @@ -314,7 +314,7 @@ class $modify(ProfilePage) { ProfilePage::loadPageFromUserInfo(score); - #ifndef GEODE_IS_MACOS + #ifdef GEODE_IS_MACOS if (GradientPages::macNode) {