Skip to content

Commit

Permalink
[cyberchef.vm] Add documentation
Browse files Browse the repository at this point in the history
Document why we can't use the `.html` directly in the shortcut, which is
also the reason why we can't use the `VM-Install-From-Zip` helper.
  • Loading branch information
Ana06 committed Dec 10, 2024
1 parent 5fe6f9d commit 65cfe73
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion packages/cyberchef.vm/cyberchef.vm.nuspec
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>cyberchef.vm</id>
<version>10.19.4</version>
<version>10.19.4.20241209</version>
<authors>GCHQ</authors>
<description>The Cyber Swiss Army Knife - a web app for encryption, encoding, compression, data analysis, and more.</description>
<dependencies>
Expand Down
3 changes: 3 additions & 0 deletions packages/cyberchef.vm/tools/chocolateyinstall.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@ try {
Install-ChocolateyZipPackage @packageArgs
VM-Assert-Path $toolDir

# FLARE-VM adds CyberChef to the taskbar.
# We use the chrome executable as we can't use an `.html` shortcut for the taskbar.
# Because of this reason we are not using the `VM-Install-From-Zip` helper that would simplify the package code.
$chromePath = "${env:ProgramFiles}\Google\Chrome\Application\chrome.exe"
$cyberchefPath = Get-Item "$toolDir\CyberChef*.html"
$iconLocation = VM-Create-Ico (Join-Path $toolDir "images\cyberchef-128x128.png")
Expand Down

0 comments on commit 65cfe73

Please sign in to comment.