-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathStart-BlockPilot.bat
More file actions
36 lines (31 loc) · 1.03 KB
/
Copy pathStart-BlockPilot.bat
File metadata and controls
36 lines (31 loc) · 1.03 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
@echo off
REM SPDX-License-Identifier: Apache-2.0
REM BlockPilot Minecraft Panel v1.0.4
REM Purpose: Let the user choose English, Traditional Chinese, or Simplified Chinese startup messages.
REM Maintenance: Keep the three launcher file names synchronized with the README and source checks.
setlocal EnableExtensions
chcp 65001 >nul
cd /d "%~dp0"
title BlockPilotMC v1.0.4
echo ============================================================
echo BlockPilotMC v1.0.4
echo Select startup language / 選擇啟動語言 / 选择启动语言
echo ============================================================
echo.
echo [1] English
echo [2] 中文(繁體)
echo [3] 中文(简体)
echo.
choice /C 123 /N /M "Select / 選擇 / 选择 [1/2/3]: "
if errorlevel 3 goto :SimplifiedChinese
if errorlevel 2 goto :TraditionalChinese
goto :English
:English
call "Start-BlockPilot-EN.bat"
exit /b %ERRORLEVEL%
:TraditionalChinese
call "Start-BlockPilot-TW.bat"
exit /b %ERRORLEVEL%
:SimplifiedChinese
call "Start-BlockPilot-ZH.bat"
exit /b %ERRORLEVEL%