Skip to content

Commit

Permalink
Fix the 7z command as 7zip is not a valid command
Browse files Browse the repository at this point in the history
  • Loading branch information
rethinksec authored Jan 30, 2024
1 parent 353e5de commit 2918d43
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/hashcat.vm/tools/chocolateyinstall.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,10 @@ try {
$zipPath = $packageArgs.fileFullPath
VM-Assert-Path $zipPath

7zip x $zipPath -o"$toolDir" -y
7z x $zipPath -o"$toolDir" -y
# Create a shortcut
$executablePath = Join-Path "$workingDir" "$toolName.exe" -Resolve
VM-Install-Shortcut $toolName $category $executablePath -consoleApp $true -executableDir $workingDir
} catch {
VM-Write-Log-Exception $_
}
}

0 comments on commit 2918d43

Please sign in to comment.