forked from mamoe/mirai
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add one-key installer for community SDKs
- Loading branch information
Showing
3 changed files
with
28 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
@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 安装 Java | ||
echo Y >> input.txt | ||
REM 使用 Java 11 | ||
echo 11 >> input.txt | ||
REM 使用 JRE | ||
echo 1 >> input.txt | ||
REM 使用 32 位 JRE 的兼容所有系统, 也方便如果要用 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 安装成功, 以后执行 mcl.cmd 即可启动 Mirai Console | ||
echo Installation succeed. Run mcl.cmd to start Mirai Console. | ||
pause |