diff options
author | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2016-09-05 01:54:19 +0200 |
---|---|---|
committer | Markus Mohrhard <markus.mohrhard@googlemail.com> | 2017-05-19 03:43:22 +0200 |
commit | 94fd45a29d8302886e132aaf4f8b75b6903e8536 (patch) | |
tree | 16047c1b35c851a3574a3e923732126111356cdb /desktop | |
parent | 641bd985386c4accfcc99afb769db2385462ffe8 (diff) |
use my own server for now for the new update check
Diffstat (limited to 'desktop')
-rw-r--r-- | desktop/source/app/updater.cxx | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/desktop/source/app/updater.cxx b/desktop/source/app/updater.cxx index 1e0d571f3a3c..a3bb82d99adf 100644 --- a/desktop/source/app/updater.cxx +++ b/desktop/source/app/updater.cxx @@ -485,15 +485,17 @@ void update_checker() rtl::Bootstrap::expandMacros(aBuildTarget); OUString aLocale = "en-US"; OUString aChannel = officecfg::Office::Update::Update::UpdateChannel::get(); - OUString aOSVersion = "0"; - OUString aDownloadCheckURL = aDownloadCheckBaseURL + "update/3/" + aProductName + + OUString aDownloadCheckURL = aDownloadCheckBaseURL + "update/1/" + aProductName + "/" + aVersion + "/" + aBuildID + "/" + aBuildTarget + "/" + aLocale + - "/" + aChannel + "/" + aOSVersion + "/default/default/update.xml?force=1"; + "/" + aChannel; + SAL_DEBUG(aDownloadCheckURL); OString aURL = OUStringToOString(aDownloadCheckURL, RTL_TEXTENCODING_UTF8); -#if 0 +#if 1 std::string response_body = download_content(aURL, false); + SAL_DEBUG(response_body); + exit(1); #else std::string response_body; if(std::ifstream is{"/lo/users/moggi/update.json", std::ios::binary | std::ios::ate}) |