mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-07-29 08:36:18 -04:00
updater: Bump to version 2.2
This commit is contained in:
@@ -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);
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user