From c88b7af1c38c0df92e7ad6cae9528f19cb0a4174 Mon Sep 17 00:00:00 2001 From: vanhofen Date: Tue, 11 Jun 2019 00:26:16 +0200 Subject: [PATCH] update: add boxname to update.php script Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/c63893e336630249327d73f97e9f42e71cf8a396 Author: vanhofen Date: 2019-06-11 (Tue, 11 Jun 2019) Origin message was: ------------------ - update: add boxname to update.php script ------------------ No further description and justification available within origin commit message! ------------------ This commit was generated by Migit --- src/gui/update.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gui/update.cpp b/src/gui/update.cpp index 9665995dc..3a5b49b32 100644 --- a/src/gui/update.cpp +++ b/src/gui/update.cpp @@ -153,6 +153,7 @@ void CFlashUpdate::update_php(std::string &url, const char* type) if (url.find("update.php") != std::string::npos) { url += "?revision=" + to_string(cs_get_revision()); + url += "&boxname=" + g_info.hw_caps->boxname; url += "&chip_type=" + to_string(cs_get_chip_type()); url += "&image_type=" + (std::string)type; printf("[update_php] url %s\n", url.c_str());