Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
FlafyDev committed May 30, 2024
1 parent cf93a37 commit 32db760
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions src/ui/an_song_cell.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -144,10 +144,11 @@ void ANSongCell::setSong() {

fs::path ANSongCell::getFileDownloadPath(bool create) {
#ifdef GEODE_IS_ANDROID
std::string baseDir = "/storage/emulated/0/nongs";
if (!fs::exists(baseDir)) {
fs::create_directories(baseDir);
}
// std::string baseDir = "/storage/emulated/0/nongs";
// if (!fs::exists(baseDir)) {
// fs::create_directories(baseDir);
// }
std::string baseDir = Mod::get()->getSaveDir().string();
#else
std::string baseDir = Mod::get()->getSaveDir().string();
#endif
Expand Down

0 comments on commit 32db760

Please sign in to comment.