-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathreset_custom.bat
35 lines (33 loc) · 1.31 KB
/
reset_custom.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
:: Originally made by Rhapsody
:: Modified by JarateKing
@echo off
SET "current_folder=%cd%"
SET "repo_name=jarconfig-master"
TITLE Downloading Files from Github
:: download zip from github
dev\wget.exe https://github.com/JarateKing/jarconfig/archive/master.zip --no-check-certificate
:: extract zip
dev\unzip.exe master.zip
:: move replaced cfgs out of jarconfig-master
move "jarconfig-master\cfg\_settings.cfg" "cfg"
move "jarconfig-master\cfg\scout.cfg" "cfg"
move "jarconfig-master\cfg\soldier.cfg" "cfg"
move "jarconfig-master\cfg\pyro.cfg" "cfg"
move "jarconfig-master\cfg\demoman.cfg" "cfg"
move "jarconfig-master\cfg\heavyweapons.cfg" "cfg"
move "jarconfig-master\cfg\engineer.cfg" "cfg"
move "jarconfig-master\cfg\medic.cfg" "cfg"
move "jarconfig-master\cfg\sniper.cfg" "cfg"
move "jarconfig-master\cfg\spy.cfg" "cfg"
move "jarconfig-master\cfg\scout_c.cfg" "cfg"
move "jarconfig-master\cfg\soldier_c.cfg" "cfg"
move "jarconfig-master\cfg\pyro_c.cfg" "cfg"
move "jarconfig-master\cfg\demoman_c.cfg" "cfg"
move "jarconfig-master\cfg\heavyweapons_c.cfg" "cfg"
move "jarconfig-master\cfg\engineer_c.cfg" "cfg"
move "jarconfig-master\cfg\medic_c.cfg" "cfg"
move "jarconfig-master\cfg\sniper_c.cfg" "cfg"
move "jarconfig-master\cfg\spy_c.cfg" "cfg"
:: remove folders and files used in the process
rmdir /S /Q %repo_name%
del master.zip