Skip to content

Commit

Permalink
Add .NET4 hasher
Browse files Browse the repository at this point in the history
  • Loading branch information
naacbin committed Feb 20, 2024
1 parent d55c67a commit 4967635
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 0 deletions.
13 changes: 13 additions & 0 deletions packages/hasher.vm/hasher.vm.nuspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<?xml version="1.0" encoding="utf-8"?>
<package xmlns="http://schemas.microsoft.com/packaging/2015/06/nuspec.xsd">
<metadata>
<id>hasher.vm</id>
<version>2.0.0.20231207</version>
<authors>Eric Zimmerman</authors>
<description>Hash all the things</description>
<dependencies>
<dependency id="common.vm" />
<dependency id="netfx-4.8" version="[4.8.0.20220524]" />
</dependencies>
</metadata>
</package>
10 changes: 10 additions & 0 deletions packages/hasher.vm/tools/chocolateyinstall.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
$ErrorActionPreference = 'Stop'
Import-Module vm.common -Force -DisableNameChecking

$toolName = 'Hasher'
$category = 'Utilities'

$zipUrl = 'https://f001.backblazeb2.com/file/EricZimmermanTools/hasher.zip'
$zipSha256 = '1693875e5f830e582dc01778cae34e50c1e28d472ced9fe1caeac89843b58cfa'

VM-Install-From-Zip $toolName $category $zipUrl -zipSha256 $zipSha256 -consoleApp $false -innerFolder $true
7 changes: 7 additions & 0 deletions packages/hasher.vm/tools/chocolateyuninstall.ps1
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
$ErrorActionPreference = 'Continue'
Import-Module vm.common -Force -DisableNameChecking

$toolName = 'Hasher'
$category = 'Utilities'

VM-Uninstall $toolName $category

0 comments on commit 4967635

Please sign in to comment.