File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 2525 "extra-splash-file" : {
2626 "type" : " file" ,
2727 "name" : " Extra Splashes" ,
28+ "platforms" : [" android" , " win" , " mac" ],
2829 "description" : " Additional splash texts, one per line. Restart your game to apply. See more info about writing these on the GitHub page!" ,
2930 "requires-restart" : true ,
3031 "default" : {
3132 "win" : " " ,
3233 "mac" : " " ,
33- "android" : " " ,
34- "ios" : " "
34+ "android" : " "
3535 },
3636 "control" : {
3737 "dialog" : " open" ,
Original file line number Diff line number Diff line change @@ -29,11 +29,13 @@ class $modify(ST_MenuLayer, MenuLayer)
2929 log::error (" Failed to load file {}" , Mod::get ()->getResourcesDir () / " splash.splash" );
3030 }
3131
32+ #ifndef GEODE_IS_IOS
3233 auto extraPath = Mod::get ()->getSettingValue <std::filesystem::path>(" extra-splash-file" );
3334 if (!extraPath.empty () && !m_fields->m_SplashRead ->loadFile (extraPath))
3435 {
3536 log::error (" Failed to load file {}" , extraPath.string ());
3637 }
38+ #endif // ifndef GEODE_IS_IOS
3739 }
3840 m_fields->m_SplashStr = m_fields->m_SplashRead ->getRandomLine ();
3941 auto mainTitle = getChildByIDRecursive (" main-title" );
You can’t perform that action at this time.
0 commit comments