-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathMakeDemoInstallers.bat
41 lines (23 loc) · 1.4 KB
/
MakeDemoInstallers.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 EnjoyTronInstallersDemoPath="EnjoyTronInstallersDemo"
if exist %EnjoyTronInstallersDemoPath% rmdir /s /q %EnjoyTronInstallersDemoPath%
mkdir %EnjoyTronInstallersDemoPath%
mkdir %EnjoyTronInstallersDemoPath%\Admin
copy EnjoyTron\Tron.AdminClient.Setup\Release\* %EnjoyTronInstallersDemoPath%\Admin
mkdir %EnjoyTronInstallersDemoPath%\Debug
copy EnjoyTron\Tron.DebugClient.Demo.Setup\Release\* %EnjoyTronInstallersDemoPath%\Debug
if exist %EnjoyTronInstallersDemoPath%.zip ren %EnjoyTronInstallersDemoPath%.zip %EnjoyTronInstallersDemoPath%_old.zip
if exist %EnjoyTronInstallersDemoPath%.zip del %EnjoyTronInstallersDemoPath%.zip
7z a %EnjoyTronInstallersDemoPath%.zip %EnjoyTronInstallersDemoPath%/* test_map.txt
rmdir /s /q %EnjoyTronInstallersDemoPath%
set EnjoyTronZipsDemoPath="EnjoyTronZipsDemo"
if exist %EnjoyTronZipsDemoPath% rmdir /s /q %EnjoyTronZipsDemoPath%
mkdir %EnjoyTronZipsDemoPath%
mkdir %EnjoyTronZipsDemoPath%\Admin
copy EnjoyTron\Tron.Client\bin\Release\* %EnjoyTronZipsDemoPath%\Admin
mkdir %EnjoyTronZipsDemoPath%\Debug
copy EnjoyTron\Tron.DebugClient.Demo\bin\Release\* %EnjoyTronZipsDemoPath%\Debug
if exist %EnjoyTronZipsDemoPath%.zip ren %EnjoyTronZipsDemoPath%.zip %EnjoyTronZipsDemoPath%_old.zip
if exist %EnjoyTronZipsDemoPath%.zip del %EnjoyTronZipsDemoPath%.zip
7z a %EnjoyTronZipsDemoPath%.zip %EnjoyTronZipsDemoPath%/* test_map.txt
rmdir /s /q %EnjoyTronZipsDemoPath%