updater: Bump to version 2.2

This commit is contained in:
derrod
2022-11-22 03:21:39 +01:00
committed by Jim
parent ece4d1e90e
commit 9c2cccfbc7
2 changed files with 3 additions and 3 deletions

View File

@@ -125,7 +125,7 @@ bool HTTPPostData(const wchar_t *url, const BYTE *data, int dataLen,
/* -------------------------------------- *
* connect to server */
hSession = WinHttpOpen(L"OBS Studio Updater/2.1",
hSession = WinHttpOpen(L"OBS Studio Updater/2.2",
WINHTTP_ACCESS_TYPE_DEFAULT_PROXY,
WINHTTP_NO_PROXY_NAME, WINHTTP_NO_PROXY_BYPASS,
0);

View File

@@ -376,7 +376,7 @@ bool DownloadWorkerThread()
const DWORD enableHTTP2Flag = WINHTTP_PROTOCOL_FLAG_HTTP2;
HttpHandle hSession = WinHttpOpen(L"OBS Studio Updater/2.1",
HttpHandle hSession = WinHttpOpen(L"OBS Studio Updater/2.2",
WINHTTP_ACCESS_TYPE_DEFAULT_PROXY,
WINHTTP_NO_PROXY_NAME,
WINHTTP_NO_PROXY_BYPASS, 0);
@@ -1094,7 +1094,7 @@ static bool UpdateVS2019Redists(const Json &root)
const DWORD tlsProtocols = WINHTTP_FLAG_SECURE_PROTOCOL_TLS1_2;
HttpHandle hSession = WinHttpOpen(L"OBS Studio Updater/2.1",
HttpHandle hSession = WinHttpOpen(L"OBS Studio Updater/2.2",
WINHTTP_ACCESS_TYPE_DEFAULT_PROXY,
WINHTTP_NO_PROXY_NAME,
WINHTTP_NO_PROXY_BYPASS, 0);