Universal-Updater -> DarkStore Part 2

Renamed Strings For DarkStore
Made .store Files Useable
This commit is contained in:
dark98
2021-09-09 16:23:22 +01:00
parent 76b41884c5
commit c894ff9924
61 changed files with 650 additions and 648 deletions
+5 -5
View File
@@ -24,8 +24,8 @@
* reasonable ways as different from the original version.
*/
#ifndef _UNIVERSAL_UPDATER_DOWNLOAD_HPP
#define _UNIVERSAL_UPDATER_DOWNLOAD_HPP
#ifndef _DARKSTORE_DOWNLOAD_HPP
#define _DARKSTORE_DOWNLOAD_HPP
#include "common.hpp"
@@ -48,7 +48,7 @@ struct StoreList {
std::string Description;
};
struct UUUpdate {
struct DSUpdate {
bool Available = false;
std::string Notes = "";
std::string Version = "";
@@ -79,9 +79,9 @@ void notImplemented(void);
void doneMsg(void);
bool IsUpdateAvailable(const std::string &URL, int revCurrent);
bool DownloadUniStore(const std::string &URL, int currentRev, std::string &fl, bool isDownload = false, bool isUDB = false);
bool DownloadStore(const std::string &URL, int currentRev, std::string &fl, bool isDownload = false, bool isDS = false);
bool DownloadSpriteSheet(const std::string &URL, const std::string &file);
UUUpdate IsUUUpdateAvailable();
DSUpdate IsDSUpdateAvailable();
void UpdateAction();
std::vector<StoreList> FetchStores();
C2D_Image FetchScreenshot(const std::string &URL);