From 27c2325118b581908ef25f52b30f91c4abad9638 Mon Sep 17 00:00:00 2001 From: Andrew Belt Date: Sun, 6 Nov 2022 00:07:34 -0400 Subject: [PATCH] Fix /download URL "arch" argument. --- src/library.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/library.cpp b/src/library.cpp index de70e5c4..12f627e0 100644 --- a/src/library.cpp +++ b/src/library.cpp @@ -357,7 +357,7 @@ void syncUpdate(std::string slug) { std::string downloadUrl = API_URL + "/download"; downloadUrl += "?slug=" + network::encodeUrl(slug); downloadUrl += "&version=" + network::encodeUrl(update.version); - downloadUrl += "&os=" + network::encodeUrl(APP_ARCH); + downloadUrl += "&arch=" + network::encodeUrl(APP_ARCH); // Get file path std::string packageFilename = slug + "-" + update.version + "-" + APP_ARCH + ".vcvplugin";