diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2017-04-18 13:08:40 +0200 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2017-05-19 03:43:28 +0200 |
commit | c74e0deca5e4bd7b5eb5591d1bb220bbe81627eb (patch) | |
tree | 8dd5c8ed007f356ea3e95980ac327e7ecd3e887b /desktop | |
parent | f8f7f70d33fe39ebc8534c825a9e58627a5b55ac (diff) |
update the update URL and adapt to the server changes
Change-Id: I6ece7924e6e0980c2bb4fffa9d733e6352382084
Diffstat (limited to 'desktop')
-rw-r--r-- | desktop/source/app/updater.cxx | 7 |
1 files changed, 2 insertions, 5 deletions
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); |