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