From 0ece23dff20e59f6c61986006a3d59764daeebde Mon Sep 17 00:00:00 2001 From: derrod Date: Fri, 3 Mar 2023 12:23:35 +0100 Subject: [PATCH] updater: Bump version --- UI/win-update/updater/http.cpp | 2 +- UI/win-update/updater/updater.cpp | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/UI/win-update/updater/http.cpp b/UI/win-update/updater/http.cpp index 6bda014ba..d32dd68ad 100644 --- a/UI/win-update/updater/http.cpp +++ b/UI/win-update/updater/http.cpp @@ -75,7 +75,7 @@ bool HTTPPostData(const wchar_t *url, const BYTE *data, int dataLen, /* -------------------------------------- * * connect to server */ - hSession = WinHttpOpen(L"OBS Studio Updater/2.2", + hSession = WinHttpOpen(L"OBS Studio Updater/3.0", WINHTTP_ACCESS_TYPE_DEFAULT_PROXY, WINHTTP_NO_PROXY_NAME, WINHTTP_NO_PROXY_BYPASS, 0); diff --git a/UI/win-update/updater/updater.cpp b/UI/win-update/updater/updater.cpp index e62b3f601..df450fc91 100644 --- a/UI/win-update/updater/updater.cpp +++ b/UI/win-update/updater/updater.cpp @@ -380,7 +380,7 @@ bool DownloadWorkerThread() const DWORD compressionFlags = WINHTTP_DECOMPRESSION_FLAG_ALL; - HttpHandle hSession = WinHttpOpen(L"OBS Studio Updater/2.2", + HttpHandle hSession = WinHttpOpen(L"OBS Studio Updater/3.0", WINHTTP_ACCESS_TYPE_DEFAULT_PROXY, WINHTTP_NO_PROXY_NAME, WINHTTP_NO_PROXY_BYPASS, 0); @@ -1222,7 +1222,7 @@ static bool UpdateVS2019Redists(const Json &root) const DWORD compressionFlags = WINHTTP_DECOMPRESSION_FLAG_ALL; - HttpHandle hSession = WinHttpOpen(L"OBS Studio Updater/2.2", + HttpHandle hSession = WinHttpOpen(L"OBS Studio Updater/3.0", WINHTTP_ACCESS_TYPE_DEFAULT_PROXY, WINHTTP_NO_PROXY_NAME, WINHTTP_NO_PROXY_BYPASS, 0);