mirai/docs/files/install-20210412.cmd

26 lines
810 B
Batchfile
Raw Normal View History

@echo off
powershell (new-object System.Net.WebClient).DownloadFile( 'https://github.com/iTXTech/mcl-installer/releases/download/2827601/mcl-installer-2827601-windows-amd64.exe','mcl-installer.exe')
del input.txt
REM <20><>װ Java
echo Y >> input.txt
REM ʹ<><CAB9> Java 11
echo 11 >> input.txt
REM ʹ<><CAB9> JRE
echo 1 >> input.txt
REM ʹ<><CAB9> 32 λ JRE <20>ļ<EFBFBD><C4BC><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>ϵͳ, Ҳ<><D2B2><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ҫ<EFBFBD><D2AA> mirai-native
echo x32 >> input.txt
echo Y >> input.txt
echo Y >> input.txt
echo Y >> input.txt
echo Y >> input.txt
echo Y >> input.txt
echo Y >> input.txt
mcl-installer.exe < input.txt
del input.txt
del mcl-installer.exe
cmd /c mcl.cmd --update-package net.mamoe:mirai-api-http --channel stable --type plugin
echo
echo
echo <20><>װ<EFBFBD>ɹ<EFBFBD>, <20>Ժ<EFBFBD>ִ<EFBFBD><D6B4> mcl.cmd <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> Mirai Console
echo Installation succeed. Run mcl.cmd to start Mirai Console.
pause