Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix shortcuts in didier-stevens-suite.vm #855

Merged
merged 1 commit into from
Feb 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
emtuls marked this conversation as resolved.
Show resolved Hide resolved
$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
Loading