mirror of
https://github.com/DarkStore-3DS/DarkStore.git
synced 2026-12-06 03:07:19 +00:00
Say "failed", not "succeeded" if extract fails
This commit is contained in:
1 parent
b04cc24b1d
commit
33c4688991
4 files changed
+235
-234
No files matched your search
@@ -38,7 +38,8 @@ enum ScriptState {
|
||||
SYNTAX_ERROR,
|
||||
COPY_ERROR,
|
||||
MOVE_ERROR,
|
||||
DELETE_ERROR
|
||||
DELETE_ERROR,
|
||||
EXTRACT_ERROR
|
||||
};
|
||||
|
||||
namespace ScriptUtils {
|
||||
@@ -52,7 +53,7 @@ namespace ScriptUtils {
|
||||
Result downloadRelease(const std::string &repo, const std::string &file, const std::string &output, bool includePrereleases, const std::string &message, bool isARG = false);
|
||||
Result downloadFile(const std::string &file, const std::string &output, const std::string &message, bool isARG = false);
|
||||
void installFile(const std::string &file, bool updatingSelf, const std::string &message, bool isARG = false);
|
||||
void extractFile(const std::string &file, const std::string &input, const std::string &output, const std::string &message, bool isARG = false);
|
||||
Result extractFile(const std::string &file, const std::string &input, const std::string &output, const std::string &message, bool isARG = false);
|
||||
|
||||
Result runFunctions(nlohmann::json storeJson, int selection, const std::string &entry);
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user