Skip to content

Commit

Permalink
Update VirusTotal.ps1
Browse files Browse the repository at this point in the history
  • Loading branch information
HotCakeX committed Oct 13, 2024
1 parent a9967ac commit 657da53
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/Workflowstuff/VirusTotal.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ function Upload-FileToVirusTotal {
)

[System.IO.FileInfo]$FileToUpload = Get-Item -Path $FilePath

# Check if file size is greater than 20MB (20 * 1024 * 1024 bytes)
if ($FileToUpload.Length -gt (20 * 1024 * 1024)) {
Write-Host 'File is larger than 20MB. Using big file upload URL.' -ForegroundColor Cyan
Expand Down

0 comments on commit 657da53

Please sign in to comment.