diff options
Diffstat (limited to 'tools/build_scripts/z4_UploadPluginUpdater.bat')
-rw-r--r-- | tools/build_scripts/z4_UploadPluginUpdater.bat | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/tools/build_scripts/z4_UploadPluginUpdater.bat b/tools/build_scripts/z4_UploadPluginUpdater.bat new file mode 100644 index 0000000000..fa46e5a70a --- /dev/null +++ b/tools/build_scripts/z4_UploadPluginUpdater.bat @@ -0,0 +1,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 + |