mirror of
https://github.com/Flowseal/zapret-discord-youtube.git
synced 2026-03-08 07:55:21 +00:00
Removed updates check if testing bats
This commit is contained in:
@@ -9,6 +9,8 @@ if "%~1"=="status_zapret" (
|
|||||||
)
|
)
|
||||||
|
|
||||||
if "%~1"=="check_updates" (
|
if "%~1"=="check_updates" (
|
||||||
|
if defined NO_UPDATE_CHECK exit /b
|
||||||
|
|
||||||
if exist "%~dp0utils\check_updates.enabled" (
|
if exist "%~dp0utils\check_updates.enabled" (
|
||||||
if not "%~2"=="soft" (
|
if not "%~2"=="soft" (
|
||||||
start /b service check_updates soft
|
start /b service check_updates soft
|
||||||
|
|||||||
@@ -593,6 +593,7 @@ function Restore-WinwsSnapshot {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
$env:NO_UPDATE_CHECK = "1"
|
||||||
$originalWinws = Get-WinwsSnapshot
|
$originalWinws = Get-WinwsSnapshot
|
||||||
|
|
||||||
Write-Host ""
|
Write-Host ""
|
||||||
|
|||||||
Reference in New Issue
Block a user