-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathMakeInstallers.bat
41 lines (23 loc) · 1.26 KB
/
MakeInstallers.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
@echo off
set EnjoyTronInstallersPath="EnjoyTronInstallers"
if exist %EnjoyTronInstallersPath% rmdir /s /q %EnjoyTronInstallersPath%
mkdir %EnjoyTronInstallersPath%
mkdir %EnjoyTronInstallersPath%\Admin
copy EnjoyTron\Tron.AdminClient.Setup\Release\* %EnjoyTronInstallersPath%\Admin
mkdir %EnjoyTronInstallersPath%\Debug
copy EnjoyTron\Tron.DebugClient.Setup\Release\* %EnjoyTronInstallersPath%\Debug
if exist %EnjoyTronInstallersPath%.zip ren %EnjoyTronInstallersPath%.zip %EnjoyTronInstallersPath%_old.zip
if exist %EnjoyTronInstallersPath%.zip del %EnjoyTronInstallersPath%.zip
7z a %EnjoyTronInstallersPath%.zip %EnjoyTronInstallersPath%/* test_map.txt
rmdir /s /q %EnjoyTronInstallersPath%
set EnjoyTronZipsPath="EnjoyTronZips"
if exist %EnjoyTronZipsPath% rmdir /s /q %EnjoyTronZipsPath%
mkdir %EnjoyTronZipsPath%
mkdir %EnjoyTronZipsPath%\Admin
copy EnjoyTron\Tron.Client\bin\Release\* %EnjoyTronZipsPath%\Admin
mkdir %EnjoyTronZipsPath%\Debug
copy EnjoyTron\Tron.DebugClient\bin\Release\* %EnjoyTronZipsPath%\Debug
if exist %EnjoyTronZipsPath%.zip ren %EnjoyTronZipsPath%.zip %EnjoyTronZipsPath%_old.zip
if exist %EnjoyTronZipsPath%.zip del %EnjoyTronZipsPath%.zip
7z a %EnjoyTronZipsPath%.zip %EnjoyTronZipsPath%/* test_map.txt
rmdir /s /q %EnjoyTronZipsPath%