Revert "add Task based file utils on android"

This reverts commit a299f86170.
This commit is contained in:
Fleeym 2024-06-08 02:44:35 +03:00
parent 754ae3cde6
commit 407e91605d

View file

@ -194,7 +194,6 @@ Result<std::filesystem::path> file::pickFile(file::PickMode mode, file::FilePick
return Err("Use the callback version");
}
void file::pickFile(
PickMode mode, FilePickOptions const& options,
MiniFunction<void(std::filesystem::path)> callback,
@ -235,10 +234,6 @@ void file::pickFile(
}
}
Task<Result<std::filesystem::path>> file::pick(PickMode mode, FilePickOptions const& options) {
return Task<Result<std::filesystem::path>>::immediate(std::move(file::pickFile(mode, options)));
}
Result<std::vector<std::filesystem::path>> file::pickFiles(file::FilePickOptions const& options) {
return Err("Use the callback version");
}
@ -270,10 +265,6 @@ void file::pickFiles(
}
}
Task<Result<std::filesystem::path>> file::pickMany(FilePickOptions const& options) {
return Task<Result<std::filesystem::path>>::immediate(std::move(file::pickFiles(options)));
}
void geode::utils::game::launchLoaderUninstaller(bool deleteSaveData) {
log::error("Launching Geode uninstaller is not supported on android");
}