summaryrefslogtreecommitdiff
path: root/extensions/source/update/feed
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2022-11-24 12:15:40 +0000
committerCaolán McNamara <caolanm@redhat.com>2022-11-24 14:57:21 +0100
commitc84ffb6114ddb30f474cc87bbd6ad9b591173353 (patch)
tree3335ab7c40ee20108fb8c93357c463a669cfc416 /extensions/source/update/feed
parent0a2abff1b0167ce2380e538562755da666c6753b (diff)
add some notes on how to debug online update from a dev version
Change-Id: I7b4547bfee4ff0bd3bbe7366b6294e925852ce65 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/143221 Tested-by: Caolán McNamara <caolanm@redhat.com> Reviewed-by: Caolán McNamara <caolanm@redhat.com>
Diffstat (limited to 'extensions/source/update/feed')
-rw-r--r--extensions/source/update/feed/updatefeed.cxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/extensions/source/update/feed/updatefeed.cxx b/extensions/source/update/feed/updatefeed.cxx
index 632724118c98..b1bc6851edef 100644
--- a/extensions/source/update/feed/updatefeed.cxx
+++ b/extensions/source/update/feed/updatefeed.cxx
@@ -365,7 +365,9 @@ OUString UpdateInformationProvider::getUserAgent(bool bExtended)
aUserAgent = aUserAgent.replaceAll("<PRODUCT>", product);
aUserAgent = aUserAgent.replaceAll("<OPTIONAL_OS_HW_DATA>", aExtended);
SAL_INFO("extensions.update", "UpdateUserAgent: " << aUserAgent);
-
+ // if you want to debug online updates from a dev version, then uncommenting this (adjust for platform)
+ // might be helpful
+ // return "LibreOffice 7.3.5.2 (184fe81b8c8c30d8b5082578aee2fed2ea847c01; Linux; X86_64; )";
return aUserAgent;
}