summaryrefslogtreecommitdiff
path: root/tools/build_scripts/z4_UploadPluginUpdater.bat
blob: fa46e5a70a244de9e2e4a1d28add436624225f27 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
set tp=%1
if  "%tp%"=="" (echo "please specify target platform 32 or 64!"&&pause&&goto :EOF)

call a_SetVar%tp%.bat

if exist zzReport.txt del /f /q zzReport.txt

:upload
%WinSCP% /script=z4_UploadPluginUpdater.txt

if errorlevel 1 goto error

echo Upload Plugin Updater Success! >> zzReport.txt
if exist %Arch% rd /Q /S "%Arch%" >nul
goto end

:error
echo Upload Plugin Updater x%tp% Error! >> zzReport.txt

:end