#include #ifdef GEODE_IS_ANDROID using namespace geode::prelude; #include #include #include #include ghc::filesystem::path dirs::getGameDir() { return CCFileUtils::sharedFileUtils()->getWritablePath().c_str(); } ghc::filesystem::path dirs::getSaveDir() { return CCFileUtils::sharedFileUtils()->getWritablePath().c_str(); } void utils::web::openLinkInBrowser(std::string const& url) { CCApplication::sharedApplication()->openURL(url.c_str()); } bool utils::file::openFolder(ghc::filesystem::path const&) { return false; } geode::Result utils::file:: pickFile(geode::utils::file::PickMode, geode::utils::file::FilePickOptions const&) { return geode::Err("This function is currently unimplemented"); } void geode::utils::game::launchLoaderUninstaller(bool deleteSaveData) { log::error("Launching Geode uninstaller is not supported on android"); } void geode::utils::game::exit() { // Not implemented log::error("Exiting the game is not implemented on android"); } void geode::utils::game::restart() { // Not implemented log::error("Restarting the game is not implemented on android"); } #endif