From 52fd70e98adf55be99eba7c622c99146705312a9 Mon Sep 17 00:00:00 2001 From: Yevgeny Kungurov Date: Sat, 13 Dec 2025 16:49:18 +0300 Subject: [PATCH] Fix service_check_updates (#7184) --- service.bat | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/service.bat b/service.bat index 12b4bbf..aaf17ca 100644 --- a/service.bat +++ b/service.bat @@ -300,7 +300,7 @@ set "GITHUB_RELEASE_URL=https://github.com/Flowseal/zapret-discord-youtube/relea set "GITHUB_DOWNLOAD_URL=https://github.com/Flowseal/zapret-discord-youtube/releases/latest/download/zapret-discord-youtube-" :: Get the latest version from GitHub -for /f "delims=" %%A in ('powershell -command "(Invoke-WebRequest -Uri \"%GITHUB_VERSION_URL%\" -Headers @{\"Cache-Control\"=\"no-cache\"} -TimeoutSec 5).Content.Trim()" 2^>nul') do set "GITHUB_VERSION=%%A" +for /f "delims=" %%A in ('powershell -command "(Invoke-WebRequest -Uri \"%GITHUB_VERSION_URL%\" -Headers @{\"Cache-Control\"=\"no-cache\"} -UseBasicParsing -TimeoutSec 5).Content.Trim()" 2^>nul') do set "GITHUB_VERSION=%%A" :: Error handling if not defined GITHUB_VERSION (