-
Notifications
You must be signed in to change notification settings - Fork 0
/
KOALA.BAT
105 lines (99 loc) · 3.89 KB
/
KOALA.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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
@echo off
title Koala Migrator
:menu
cls
echo = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
echo What do you want to do!
echo = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
echo.
echo #1 - Migrate from GDLauncher
echo #2 - Exit
echo.
choice /C:12 /n /m "Selection: "%1
if errorlevel ==2 EXIT /B
if errorlevel ==1 goto migrate_gdl
:migrate_gdl
cls
echo = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
echo Are you sure you want to migrate all your GDLauncher Instances to KoalaLauncher
echo = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
echo.
echo #1 - Yes
echo #2 - I want my gorilla....
echo.
choice /C:12 /n /m "Selection: "
if errorlevel ==2 goto menu
if errorlevel ==1 goto really_migrate_gdl
:really_migrate_gdl
cls
echo = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
echo No Warnanty will be given if all your instances disappear
echo = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
echo.
echo #1 - Koala all the way!
echo #2 - Stupid Gorilla Hater
echo.
choice /C:12 /n /m "Selection: "
if errorlevel ==2 goto menu
if errorlevel ==1 goto start_migrate_gdl
:start_migrate_gdl
cls
echo = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
echo Migrating all your GDL Instances. This will take a long time!
echo = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
cd "%appdata%\koalalauncher" > NUL
if not exist instances\ mkdir instances\ > NUL
XCOPY /S /E /V /Q /F "%appdata%\gdlauncher_next\instances" "%appdata%\koalalauncher\instances"
echo.
echo.
echo.
cls
echo = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
echo Migrating all your GDL Libraries. This will take a long time!
echo = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
cd "%appdata%\koalalauncher" > NUL
if not exist instances\ mkdir instances\ > NUL
XCOPY /S /E /V /Q /F "%appdata%\gdlauncher_next\datastore" "%appdata%\koalalauncher\datastore"
echo.
echo.
echo.
echo = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
echo Migration Successful! Do you want me to delete the duplicated instances?
echo = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
echo.
echo #1 - Koala all the way!
echo #2 - Gorilla's are still cool...
echo.
choice /C:12 /n /m "Selection: "
if errorlevel ==2 goto return
if errorlevel ==1 goto cleanup_gdl
:cleanup_gdl
RD /s /q "%appdata%\gdlauncher_next"
:return
cls
echo = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
echo Returning to Selection in 5 seconds
echo = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
timeout /t 1 /nobreak > NUL
cls
echo = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
echo Returning to Selection in 4 seconds
echo = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
timeout /t 1 /nobreak > NUL
cls
echo = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
echo Returning to Selection in 3 seconds
echo = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
timeout /t 1 /nobreak > NUL
cls
echo = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
echo Returning to Selection in 2 seconds
echo = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
timeout /t 1 /nobreak > NUL
cls
echo = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
echo Returning to Selection in 1 second
echo = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
timeout /t 1 /nobreak > NUL
goto menu
PAUSE