[feat] add HarmonyOS desktop and mobile clients,issue #117

This commit is contained in:
kunkundi
2026-10-16 00:42:55 +08:00
parent 43a0789c1e
commit 45bf6ec4ee
149 changed files with 11587 additions and 93 deletions
@@ -122,7 +122,11 @@ std::optional<VersionInfo> CheckUpdate() {
const auto manifest = nlohmann::json::parse(res->body);
auto info = ParseVersionInfo(manifest);
if (info) {
#if defined(__linux__)
#if defined(__OHOS__)
// A Linux package cannot be installed by Harmony's package manager.
// Until the manifest has a Harmony artifact, use the release website.
info->download_url = "https://crossdesk.cn";
#elif defined(__linux__)
std::string architecture;
#if defined(__x86_64__)
architecture = "amd64";