加入中文UI

This commit is contained in:
Terrence
2024-11-18 06:17:39 +08:00
parent 794e6f4bef
commit 6bfe2719a8
39 changed files with 58931 additions and 237 deletions

View File

@@ -19,10 +19,14 @@ public:
void StartUpgrade(std::function<void(int progress, size_t speed)> callback);
void MarkCurrentVersionValid();
const std::string& GetFirmwareVersion() const { return firmware_version_; }
const std::string& GetCurrentVersion() const { return current_version_; }
private:
std::string check_version_url_;
bool has_new_version_ = false;
bool has_mqtt_config_ = false;
std::string current_version_;
std::string firmware_version_;
std::string firmware_url_;
std::string post_data_;