Skip to content

Commit

Permalink
Merge pull request #855 from mandiant/didier-suite-fix
Browse files Browse the repository at this point in the history
Fix shortcuts in didier-stevens-suite.vm
  • Loading branch information
Ana06 authored Feb 21, 2024
2 parents 4843c96 + d02aa40 commit f1ce209
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<package xmlns="http://schemas.microsoft.com/packaging/2015/06/nuspec.xsd">
<metadata>
<id>didier-stevens-suite.vm</id>
<version>0.0.0.20231221</version>
<version>0.0.0.20240122</version>
<authors>Didier Stevens</authors>
<description>Tools collection by Didier Stevens</description>
<dependencies>
Expand Down
8 changes: 5 additions & 3 deletions packages/didier-stevens-suite.vm/tools/chocolateyinstall.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,12 @@ try {
$toolDir = Get-Item "${Env:RAW_TOOLS_DIR}\DidierStevensSuite-*"
VM-Assert-Path $toolDir

# Add shortcut for commonly used PDF tools
# Add shortcut for commonly used python PDF tools
ForEach ($toolName in @('pdfid', 'pdf-parser')) {
$executablePath = Join-Path $toolDir "$toolName.py"
VM-Install-Shortcut $toolName $category $executablePath -consoleApp $true -arguments "--help"
$executablePath = (Get-Command python).Source
$filePath = Join-Path $toolDir "$toolName.py"
$arguments = $filePath + " --help"
VM-Install-Shortcut $toolName $category $executablePath -consoleApp $true -arguments $arguments
}

# Add tools to Path
Expand Down

0 comments on commit f1ce209

Please sign in to comment.