-
Notifications
You must be signed in to change notification settings - Fork 1
/
play.bat
65 lines (55 loc) · 2.24 KB
/
play.bat
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
@echo off
set LIB_HOME=%cd%\lib\
set JAVA_HOME=%LIB_HOME%\jre6
set Path=%JAVA_HOME%\bin
cls
:main
cls
@echo ┏━━━━━━━━━━ easyCraft 1.1 纪念版 ━━━━━━━━━━━┓
@echo ┃ ┃
@echo ┃请输入数字或字母进行选择: ┃
@echo ┃ ┃
@echo ┃[1] 运行Minrcraft 1.4.6 ┃
@echo ┃[2] 运行Minrcraft 1.3.2 ┃
@echo ┃[3] 运行Minrcraft Beta 1.8 ┃
@echo ┃ ┃
@echo ┃[h] 帮助 ┃
@echo ┃[c] 退出 ┃
@echo ┃ ┃
@echo ┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛
set /p i=请输入:
if %i% == 1 goto 146
if %i% == 2 goto 132
if %i% == 3 goto b181
if %i% == h goto help
if %i% == c goto exit
goto main
:146
set APPDATA=%~dp0\1.4.6
java -jar "%LIB_HOME%\Minecraft.jar"
goto exit
:132
set APPDATA=%~dp0\1.3.2
java -jar "%LIB_HOME%\Minecraft.jar"
goto exit
:b181
set APPDATA=%~dp0\b1.8
java -jar "%LIB_HOME%\Minecraft.jar"
goto exit
:help
cls
@echo ┏━━━━━━━━━━━━ easyCraft 测试版 ━━━━━━━━━━━━┓
@echo ┃ ┃
@echo ┃easyCraft 1.0.1 beta ┃
@echo ┃ziggear制作 ┃
@echo ┃http://code.google.com/p/eazycraft/ ┃
@echo ┃ ┃
@echo ┃·转载及修改请注明作者、保留本帮助信息 ┃
@echo ┃ ┃
@echo ┃ [任意键返回主菜单] ┃
@echo ┃ ┃
@echo ┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛
set /p i=input:
goto main
:exit
exit