Skip to content

Commit

Permalink
oh
Browse files Browse the repository at this point in the history
  • Loading branch information
YellowCat98 committed May 11, 2024
1 parent 5907aeb commit e83a158
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion mod.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"description": "This mod lets you change your fps on iOS!",
"resources": {
"files": [
"geode-logo.png"
"resources/geode-logo.png"
]
}
}
4 changes: 2 additions & 2 deletions src/main.mm
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
class $modify(MenuLayer) {
void onMoreGames(CCObject*) {
std::string path = Mod::get()->getResourcesDir() / "geode-logo.png";
auto testspr = CCSprite::create(path.c_str());
this->addChild(testspr);
NSString *iconPath = to_nsstring(path);
setAppIcon(iconPath);
}
};

0 comments on commit e83a158

Please sign in to comment.