-
Notifications
You must be signed in to change notification settings - Fork 42
/
Copy pathupdate_data.bat
102 lines (98 loc) · 5.01 KB
/
update_data.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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
mkdir data_x64
mkdir pdbs\x86
mkdir pdbs\x64
copy /Y "..\Release Service\Server.exe" "data\urbackupsrv.exe"
copy /Y "..\Release Service\Server.pdb" "pdbs\x86\urbackupsrv.pdb"
copy /Y "..\Release Service\Server.exe" "data\UrBackupClientBackend.exe"
copy /Y "..\Release Service\Server.pdb" "pdbs\x86\UrBackupClientBackend.pdb"
copy /Y "..\release\urbackupclient.dll" "data\urbackup.dll"
copy /Y "..\release\urbackupclient.pdb" "pdbs\x86\urbackup.pdb"
copy /Y "..\release\sysvol_test.exe" "data\sysvol_test.exe"
copy /Y "..\Release WinXP\urbackupclient_xp.dll" "data\urbackup_xp.dll"
copy /Y "..\Release WinXP\urbackupclient.pdb" "pdbs\x86\urbackup_xp.pdb"
copy /Y "..\Release Server 2003\urbackupclient_server03.dll" "data\urbackup_server03.dll"
copy /Y "..\Release Server 2003\urbackupclient.pdb" "pdbs\x86\urbackup_server03.pdb"
copy /Y "..\release\fileservplugin.dll" "data\fileservplugin.dll"
copy /Y "..\release\fileservplugin.pdb" "pdbs\x86\fileservplugin.pdb"
copy /Y "..\release\fsimageplugin.dll" "data\fsimageplugin.dll"
copy /Y "..\release\fsimageplugin.pdb" "pdbs\x86\fsimageplugin.pdb"
copy /Y "..\release\cryptoplugin.dll" "data\cryptoplugin.dll"
copy /Y "..\release\cryptoplugin.pdb" "pdbs\x86\cryptoplugin.pdb"
copy /Y "Release\UrBackupClientGUI.exe" "data\UrBackupClient.exe"
copy /Y "Release\UrBackupClientGUI.pdb" "pdbs\x86\UrBackupClient.pdb"
copy /Y "..\release\clientctl.exe" "data\UrBackupClient_cmd.exe"
copy /Y "..\deps\misc\KillProc_x86.exe" "data\KillProc.exe"
copy /Y "..\deps\redist\libzstd_x86.dll" "data\libzstd.dll"
copy /Y "..\x64\Release Service\Server.pdb" "pdbs\x64\urbackupsrv.pdb"
copy /Y "..\x64\Release Service\Server.exe" "data_x64\urbackupsrv.exe"
copy /Y "..\x64\Release Service\Server.exe" "data_x64\UrBackupClientBackend.exe"
copy /Y "..\x64\Release Service\Server.pdb" "pdbs\x64\UrBackupClientBackend.pdb"
copy /Y "..\x64\release\urbackupclient.dll" "data_x64\urbackup.dll"
copy /Y "..\x64\release\urbackupclient.pdb" "pdbs\x64\urbackup.pdb"
copy /Y "..\x64\release\cryptoplugin.dll" "data_x64\cryptoplugin.dll"
copy /Y "..\x64\release\cryptoplugin.pdb" "pdbs\x64\cryptoplugin.pdb"
copy /Y "..\x64\Release Server 2003\urbackupclient_server03.dll" "data_x64\urbackup_server03.dll"
copy /Y "..\x64\Release Server 2003\urbackupclient.pdb" "pdbs\x64\urbackup_server03.pdb"
copy /Y "..\x64\release\fileservplugin.dll" "data_x64\fileservplugin.dll"
copy /Y "..\x64\release\fileservplugin.pdb" "pdbs\x64\fileservplugin.pdb"
copy /Y "..\x64\release\fsimageplugin.dll" "data_x64\fsimageplugin.dll"
copy /Y "..\x64\release\fsimageplugin.pdb" "pdbs\x64\fsimageplugin.pdb"
copy /Y "x64\Release\UrBackupClientGUI.exe" "data_x64\UrBackupClient.exe"
copy /Y "x64\Release\UrBackupClientGUI.pdb" "pdbs\x64\UrBackupClient.pdb"
copy /Y "..\x64\release\sysvol_test.exe" "data_x64\sysvol_test.exe"
copy /Y "..\x64\release\clientctl.exe" "data_x64\UrBackupClient_cmd.exe"
copy /Y "..\deps\misc\KillProc_x86_64.exe" "data_x64\KillProc.exe"
copy /Y "..\deps\redist\libzstd_x86_64.dll" "data_x64\libzstd.dll"
copy /Y "version.txt" "data\curr_version.txt"
copy /Y "info.txt" "data\info.txt"
mkdir data\lang\de
mkdir data\lang\fr
mkdir data\lang\ru
mkdir data\lang\es
mkdir data\lang\zh_TW
mkdir data\lang\zh_CN
mkdir data\lang\pt_BR
mkdir data\lang\pt
mkdir data\lang\it
mkdir data\lang\pl
mkdir data\lang\sk
mkdir data\lang\uk
mkdir data\lang\da
mkdir data\lang\nl
mkdir data\lang\fa
mkdir data\lang\cs
mkdir data\lang\tr
mkdir data\lang\et
mkdir data\lang\no_NO
mkdir data\lang\sv
mkdir data\lang\fi
mkdir data\lang\ja
tx pull -a
set LANG_DIR=translations\urbackup.frontend\
msgfmt "%LANG_DIR%\de.po" -o "data\lang\de\urbackup.mo"
msgfmt "%LANG_DIR%\fr.po" -o "data\lang\fr\urbackup.mo"
msgfmt "%LANG_DIR%\ru.po" -o "data\lang\ru\urbackup.mo"
msgfmt "%LANG_DIR%\es.po" -o "data\lang\es\urbackup.mo"
msgfmt "%LANG_DIR%\zh_TW.Big5.po" -o "data\lang\zh_TW\urbackup.mo"
msgfmt "%LANG_DIR%\zh_CN.GB2312.po" -o "data\lang\zh_CN\urbackup.mo"
msgfmt "%LANG_DIR%\pt_BR.po" -o "data\lang\pt_BR\urbackup.mo"
msgfmt "%LANG_DIR%\pt.po" -o "data\lang\pt\urbackup.mo"
msgfmt "%LANG_DIR%\it_IT.po" -o "data\lang\it\urbackup.mo"
msgfmt "%LANG_DIR%\pl.po" -o "data\lang\pl\urbackup.mo"
msgfmt "%LANG_DIR%\sk.po" -o "data\lang\sk\urbackup.mo"
msgfmt "%LANG_DIR%\uk.po" -o "data\lang\uk\urbackup.mo"
msgfmt "%LANG_DIR%\da_DK.po" -o "data\lang\da\urbackup.mo"
msgfmt "%LANG_DIR%\nl.po" -o "data\lang\nl\urbackup.mo"
msgfmt "%LANG_DIR%\fa_IR.po" -o "data\lang\fa\urbackup.mo"
msgfmt "%LANG_DIR%\cs_CZ.po" -o "data\lang\cs\urbackup.mo"
msgfmt "%LANG_DIR%\tr.po" -o "data\lang\tr\urbackup.mo"
msgfmt "%LANG_DIR%\et.po" -o "data\lang\et\urbackup.mo"
msgfmt "%LANG_DIR%\no_NO.po" -o "data\lang\no_NO\urbackup.mo"
msgfmt "%LANG_DIR%\sv.po" -o "data\lang\sv\urbackup.mo"
msgfmt "%LANG_DIR%\fi.po" -o "data\lang\fi\urbackup.mo"
msgfmt "%LANG_DIR%\ja.po" -o "data\lang\ja\urbackup.mo"
git rev-parse HEAD > "data\build_revision.txt"
echo. >> "data\build_revision.txt"
cd ..
git rev-parse HEAD >> "client\data\build_revision.txt"
cd client