From c74e0deca5e4bd7b5eb5591d1bb220bbe81627eb Mon Sep 17 00:00:00 2001 From: Markus Mohrhard Date: Tue, 18 Apr 2017 13:08:40 +0200 Subject: update the update URL and adapt to the server changes Change-Id: I6ece7924e6e0980c2bb4fffa9d733e6352382084 --- desktop/source/app/updater.cxx | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'desktop/source') diff --git a/desktop/source/app/updater.cxx b/desktop/source/app/updater.cxx index 2b9c68a0d969..a4bf6d6e9d81 100644 --- a/desktop/source/app/updater.cxx +++ b/desktop/source/app/updater.cxx @@ -509,15 +509,12 @@ void update_checker() OUString aProductName = utl::ConfigManager::getProductName(); OUString aBuildID("${$BRAND_BASE_DIR/" LIBO_ETC_FOLDER "/" SAL_CONFIGFILE("version") ":buildid}"); rtl::Bootstrap::expandMacros(aBuildID); - OUString aVersion = "5.3.0.0.alpha0+"; OUString aBuildTarget = "${_OS}_${_ARCH}"; rtl::Bootstrap::expandMacros(aBuildTarget); - OUString aLocale = "en-US"; OUString aChannel = officecfg::Office::Update::Update::UpdateChannel::get(); - OUString aDownloadCheckURL = aDownloadCheckBaseURL + "update/1/" + aProductName + - "/" + aVersion + "/" + aBuildID + "/" + aBuildTarget + "/" + aLocale + - "/" + aChannel; + OUString aDownloadCheckURL = aDownloadCheckBaseURL + "update/check/1/" + aProductName + + "/" + aBuildID + "/" + aBuildTarget + "/" + "/" + aChannel; OString aURL = OUStringToOString(aDownloadCheckURL, RTL_TEXTENCODING_UTF8); std::string response_body = download_content(aURL, false); -- cgit