Add (optional) option to include pre-releaes

This commit is contained in:
Epicpkmn11
2019-11-04 02:12:18 -06:00
parent 644855efcf
commit ec2849708a
3 changed files with 10 additions and 8 deletions
+2 -2
View File
@@ -47,7 +47,7 @@ struct ThemeEntry {
};
Result downloadToFile(std::string url, std::string path);
Result downloadFromRelease(std::string url, std::string asset, std::string path);
Result downloadFromRelease(std::string url, std::string asset, std::string path, bool includePrereleases);
void displayProgressBar();
@@ -104,7 +104,7 @@ std::string getLatestCommit(std::string repo, std::string array, std::string ite
std::vector<ThemeEntry> getThemeList(std::string repo, std::string path);
namespace download {
void downloadRelease(std::string repo, std::string file, std::string output, std::string message);
void downloadRelease(std::string repo, std::string file, std::string output, bool includePrereleases, std::string message);
void downloadFile(std::string file, std::string output, std::string message);
void deleteFileList(std::string file, std::string message);
void installFileList(std::string file, std::string message);