|
删除下面代码就可以不升级继续用了
:: Check for updates
set -=
set old=
for /f "delims=[] tokens=2" %%# in ('ping -4 -n 1 updatecheck.mass%-%grave.dev') do (
if not [%%#]==[] (echo "%%#" | find "127.69" %nul1% && (echo "%%#" | find "127.69.%masver%" %nul1% || set old=1))
)
if defined old (
echo ________________________________________________
%eline%
echo 您正在运行过时的 MAS 版本 %masver%
echo ________________________________________________
echo:
if not defined _MASunattended (
echo [1] 下载最新版 MAS
echo [0] 仍然继续
echo:
call :_color %_Green% "输入菜单项 [1,0] :"
choice /C:10 /N
if !errorlevel!==2 rem
if !errorlevel!==1 (start ht%-%tps://github.com/mass%-%gravel/Microsoft-Acti%-%vation-Scripts & start %mas% & exit /b)
)
)
cls |
|