mirror of
https://github.com/geode-sdk/geode.git
synced 2025-02-17 00:30:26 -05:00
remove hardcodes for directory
This commit is contained in:
parent
fdc7e314d1
commit
e070fba8cb
1 changed files with 2 additions and 2 deletions
|
@ -10,11 +10,11 @@ using namespace geode::prelude;
|
|||
#include <ghc/filesystem.hpp>
|
||||
|
||||
ghc::filesystem::path dirs::getGameDir() {
|
||||
return ghc::filesystem::path("/data/user/0/com.geode.launcher/files/"/*CCFileUtils::sharedFileUtils()->getWritablePath().c_str()*/);
|
||||
return CCFileUtils::sharedFileUtils()->getWritablePath().c_str();
|
||||
}
|
||||
|
||||
ghc::filesystem::path dirs::getSaveDir() {
|
||||
return ghc::filesystem::path("/data/user/0/com.geode.launcher/files/"/*CCFileUtils::sharedFileUtils()->getWritablePath().c_str()*/);
|
||||
return CCFileUtils::sharedFileUtils()->getWritablePath().c_str();
|
||||
}
|
||||
|
||||
void utils::web::openLinkInBrowser(std::string const& url) {
|
||||
|
|
Loading…
Reference in a new issue