-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathInstall Texture Pack.bat
49 lines (41 loc) · 1.28 KB
/
Install Texture Pack.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
@echo off
title Install Rosources Texture Pack
cls
echo Welcome to the Rosources texture pack installer
echo Press any key to begin installation...
pause>nul
echo.
if exist "Rosources Texture Pack*" goto packexist else goto packnoexist
:packnoexist
echo Unable to find Rosources Texture Pack folder
echo Please ensure this folder exists before installing
echo.
goto finish
:packexist
echo Rosources Texture Pack Folder Found!
if exist %appdata%\.minecraft\resourcepacks goto folderexists else goto foldernotexists
:folderexists
echo Minecraft Resource Packs Folder Found!
echo.
if exist "%appdata%\.minecraft\resourcepacks\Rosources Texture Pack" goto removeoldversion
echo Installing...
goto installfolder
:installfolder
echo.
xcopy /I "Rosources Texture Pack" "%appdata%\.minecraft\resourcepacks\Rosources Texture Pack" /E /V /H /K
echo.
echo Finished installing Rosources texture pack
goto finish
:foldernotexists
echo Unable to find Minecraft Resource Packs Folder!
echo Please ensure that the directory "%appdata%\.minecraft\resourcepacks" exists
goto finish
:removeoldversion
echo Removing old version...
rmdir /S /Q "%appdata%\.minecraft\resourcepacks\Rosources Texture Pack"
echo Installing new version...
goto installfolder
:finish
echo Press any key to close the installer...
pause>nul
exit 0