All Downloads are FREE. Search and download functionalities are using the official Maven repository.

META-INF.jreleaser.templates.jlink.chocolatey.tools.chocolateyinstall.ps1.tpl Maven / Gradle / Ivy

The newest version!
# {{jreleaserCreationStamp}}
$tools = Split-Path $MyInvocation.MyCommand.Definition
$package = Split-Path $tools
$app_home = Join-Path $package '{{distributionArtifactRootEntryName}}'
$app_exe = Join-Path $app_home 'bin/{{distributionExecutableWindows}}'

Install-ChocolateyZipPackage `
    -PackageName '{{chocolateyPackageName}}' `
    -Url '{{distributionUrl}}' `
    -Checksum '{{distributionChecksumSha256}}' `
    -ChecksumType 'sha256' `
    -UnzipLocation $package

Install-BinFile -Name '{{distributionExecutableName}}' -Path $app_exe




© 2015 - 2024 Weber Informatics LLC | Privacy Policy