forked from pvpgn/pvpgn-magic-builder
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpatch_pvpgn.bat
46 lines (34 loc) · 1.4 KB
/
patch_pvpgn.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
@echo off
setlocal enabledelayedexpansion
TITLE PvPGN Code Patcher
color 70
echo.
echo ^<^<^<^<^<^<^<^<^<^<^<^<^<^<^<^<^<^<^<^<^< P v P G N C o d e P a t c h e r ^>^>^>^>^>^>^>^>^>^>^>^>^>^>^>^>^>^>^>^>^>
echo - -
echo + Copyright 2013, HarpyWar ([email protected]) +
echo + http://harpywar.com +
echo - -
echo ^<^<^<^<^<^<^<^<^<^<^<^<^<^<^<^<^<^<^<^<^<^<^<^<^<^<^<^<^<^<^<^<^<^<^<^<^<^<^<^|^>^>^>^>^>^>^>^>^>^>^>^>^>^>^>^>^>^>^>^>^>^>^>^>^>^>^>^>^>^>^>^>^>^>^>^>^>^>^>
set CURRENT_PATH=%~dp0
:: change path to where script was run
cd /D "%CURRENT_PATH%"
:: localization
@call module\i18n.inc.bat
set i18n=module\i18n.inc.bat
@set PVPGN_SOURCE=source\
echo.
:: ----------- RUN ------------
echo.
echo ________________________________[ P A T C H]____________________________________
:: do you want to apply patches?
call %i18n% 4_1
module\choice
if %errorlevel%==2 ( set CHOICE_PATCH=n) else ( set CHOICE_PATCH=y)
:: applying patches
if [%CHOICE_PATCH%]==[y] @call module\tortoisesvn\patch_source.inc.bat
:THEEND
echo.
echo ___________________________[ C O M P L E T E ]__________________________________
echo.
:: wait for any key
pause