File tree Expand file tree Collapse file tree 1 file changed +10
-4
lines changed Expand file tree Collapse file tree 1 file changed +10
-4
lines changed Original file line number Diff line number Diff line change @@ -5,10 +5,7 @@ set DISTDIR=.\Build\Releases
5
5
call Tools\Scripts\URLFileSizeSHA256.cmd
6
6
7
7
for /F " delims=" %%f in ('type " %DISTDIR% \files.txt" ') do (
8
- echo %%f | findstr /v /c:" -pdb.7z" && (
9
- " %ProgramFiles(x86)% \VirusTotalUploader2\VirusTotalUploader2.2.exe" %%f
10
- timeout 30
11
- )
8
+ echo %%f | findstr /v /c:" -pdb.7z" && (call :upload %%f ) && timeout 30
12
9
)
13
10
14
11
@ echo off
@@ -17,3 +14,12 @@ for /F "delims=" %%f in ('type "%DISTDIR%\files.txt"') do (
17
14
for /F %%h in ('certutil -hashfile %%f SHA256 ^ | findstr -v SHA256 ^ | findstr -v hash') do echo %%~nxf : https://www.virustotal.com/en/file/%%h /analysis/
18
15
)
19
16
17
+ goto :eof
18
+
19
+ :upload
20
+ if exist " %ProgramFiles(x86)% \VirusTotalUploader2\VirusTotalUploader2.2.exe" (
21
+ " %ProgramFiles(x86)% \VirusTotalUploader2\VirusTotalUploader2.2.exe" %1
22
+ ) else (
23
+ " %ProgramFiles(x86)% \Samuel Tulach\VirusTotalUploader\uploader.exe" " %CD% \%~1 "
24
+ )
25
+ goto :eof
You can’t perform that action at this time.
0 commit comments