Browse Source

Fix /download URL "arch" argument.

tags/v2.2.0
Andrew Belt 2 years ago
parent
commit
27c2325118
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/library.cpp

+ 1
- 1
src/library.cpp View File

@@ -357,7 +357,7 @@ void syncUpdate(std::string slug) {
std::string downloadUrl = API_URL + "/download"; std::string downloadUrl = API_URL + "/download";
downloadUrl += "?slug=" + network::encodeUrl(slug); downloadUrl += "?slug=" + network::encodeUrl(slug);
downloadUrl += "&version=" + network::encodeUrl(update.version); downloadUrl += "&version=" + network::encodeUrl(update.version);
downloadUrl += "&os=" + network::encodeUrl(APP_ARCH);
downloadUrl += "&arch=" + network::encodeUrl(APP_ARCH);


// Get file path // Get file path
std::string packageFilename = slug + "-" + update.version + "-" + APP_ARCH + ".vcvplugin"; std::string packageFilename = slug + "-" + update.version + "-" + APP_ARCH + ".vcvplugin";


Loading…
Cancel
Save