Skip to content

Commit

Permalink
Updated mvnd to 1.0.1
Browse files Browse the repository at this point in the history
  • Loading branch information
ajshastri committed Jul 3, 2024
1 parent 4c6d21e commit 06f1069
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion mvndaemon/mvndaemon.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>mvndaemon</id>
<version>1.0.0</version>
<version>1.0.1</version>
<packageSourceUrl>https://github.com/ajshastri/chocolatey-packages/tree/master/mvndaemon</packageSourceUrl>
<title>Maven Daemon</title>
<authors>Apache Software Foundation</authors>
Expand Down
2 changes: 1 addition & 1 deletion mvndaemon/tools/chocolateyBeforeModify.ps1
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
$programFiles = (${env:ProgramFiles}, ${env:ProgramFiles(x86)} -ne $null)[0]
$installDir = "$programFiles\mvndaemon"

$pathToUnInstall = "$installDir\maven-mvnd-1.0.0-windows-amd64\bin"
$pathToUnInstall = "$installDir\maven-mvnd-1.0.1-windows-amd64\bin"

$statementTerminator = ";"

Expand Down
6 changes: 3 additions & 3 deletions mvndaemon/tools/chocolateyinstall.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,10 @@ $installDir = "$programFiles\mvndaemon"
$packageArgs = @{
PackageName = $env:ChocolateyPackageName
UnzipLocation = $targetDir = $installDir
Url64 = 'https://github.com/apache/maven-mvnd/releases/download/1.0.0/maven-mvnd-1.0.0-windows-amd64.zip'
Checksum64 = '0ccc62bd1633f9655cef6ff11a081424a639e1a2d023535322967e1419c4638b'
Url64 = 'https://github.com/apache/maven-mvnd/releases/download/1.0.1/maven-mvnd-1.0.1-windows-amd64.zip'
Checksum64 = '5a4a05fa6394b6fca0f88e18aa87682e64ce41923b057ca611ea25eb4405d34c'
ChecksumType64 = 'sha256'
}

Install-ChocolateyZipPackage @packageArgs
Install-ChocolateyPath $targetDir\maven-mvnd-1.0.0-windows-amd64\bin -PathType 'Machine'
Install-ChocolateyPath $targetDir\maven-mvnd-1.0.1-windows-amd64\bin -PathType 'Machine'
2 changes: 1 addition & 1 deletion mvndaemon/tools/chocolateyuninstall.ps1
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
$programFiles = (${env:ProgramFiles}, ${env:ProgramFiles(x86)} -ne $null)[0]
$installDir = "$programFiles\mvndaemon"

rm -r "$installDir\maven-mvnd-1.0.0-windows-amd64"
rm -r "$installDir\maven-mvnd-1.0.1-windows-amd64"

0 comments on commit 06f1069

Please sign in to comment.