Skip to content

Commit

Permalink
Updated Graalvm
Browse files Browse the repository at this point in the history
  • Loading branch information
ajshastri committed Jul 25, 2024
1 parent 35f0f9d commit 4fd5922
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion GraalVM/graalvm.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>graalvm</id>
<version>22.3.4</version>
<version>22.3.5</version>
<packageSourceUrl>https://github.com/ajshastri/chocolatey-packages/tree/master/GraalVM</packageSourceUrl>
<title>GraalVM Community Latest Java Version Now Java 22</title>
<authors>Oracle</authors>
Expand Down
6 changes: 3 additions & 3 deletions GraalVM/tools/chocolateyinstall.ps1
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
$ErrorActionPreference = 'Stop'
$programFiles = (${env:ProgramFiles}, ${env:ProgramFiles(x86)} -ne $null)[0]
$installDir = "$programFiles\GraalVM"
$version = "22.0.1+8.1"
$version = "22.0.2+9.1"

$packageArgs = @{
PackageName = $env:ChocolateyPackageName
UnzipLocation = $targetDir = $installDir
Url64bit = 'https://github.com/graalvm/graalvm-ce-builds/releases/download/jdk-22.0.1/graalvm-community-jdk-22.0.1_windows-x64_bin.zip'
Checksum64 = '623a4c5984f1210e61346e3ff942ec6f83d1928790ef9ae7dd28067e5c8de1aa'
Url64bit = 'https://github.com/graalvm/graalvm-ce-builds/releases/download/jdk-22.0.2/graalvm-community-jdk-22.0.2_windows-x64_bin.zip'
Checksum64 = '107a37cea666c2ad6ad9eaa408b4041f822a24071a33c5057762ce48833e99a3'
ChecksumType64 = 'sha256'
}

Expand Down
2 changes: 1 addition & 1 deletion GraalVM/tools/chocolateyuninstall.ps1
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
$programFiles = (${env:ProgramFiles}, ${env:ProgramFiles(x86)} -ne $null)[0]
$installDir = "$programFiles\GraalVM"
$version = "22.0.1+8.1"
$version = "22.0.2+9.1"

Uninstall-ChocolateyEnvironmentVariable 'JAVA_HOME' 'Machine'
rm -r "$installDir\graalvm-community-openjdk-$version"
Expand Down

0 comments on commit 4fd5922

Please sign in to comment.