diff --git a/deployment/chocolatey/chocolateyinstall.ps1.template b/deployment/chocolatey/chocolateyinstall.ps1.template index 1262403..57457bf 100644 --- a/deployment/chocolatey/chocolateyinstall.ps1.template +++ b/deployment/chocolatey/chocolateyinstall.ps1.template @@ -2,7 +2,7 @@ $ErrorActionPreference = 'Stop'; $PackageName = 'gman' $toolsDir = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)" -$url64 = 'https://github.com/Dark-Alex-17/gman/releases/download/v$version/gman-windows.zip' +$url64 = 'https://github.com/Dark-Alex-17/gman/releases/download/v$version/gman-x86_64-pc-windows-msvc.zip' $checksum64 = '$hash_64' $packageArgs = @{ @@ -16,5 +16,5 @@ $packageArgs = @{ } Install-ChocolateyZipPackage @packageArgs -$File = Get-ChildItem -File -Path $env:ChocolateyInstall\lib\$packageName\tools\ -Filter *.tar +$File = Get-ChildItem -File -Path $env:ChocolateyInstall\lib\$packageName\tools\ -Filter *.zip Get-ChocolateyUnzip -fileFullPath $File.FullName -destination $env:ChocolateyInstall\lib\$packageName\tools\ diff --git a/deployment/homebrew/gman.rb.template b/deployment/homebrew/gman.rb.template index 65d36cb..1fbe370 100644 --- a/deployment/homebrew/gman.rb.template +++ b/deployment/homebrew/gman.rb.template @@ -4,13 +4,13 @@ class GMan < Formula desc "Universal command line credential management and injection tool" homepage "https://github.com/Dark-Alex-17/gman" if OS.mac? and Hardware::CPU.arm? - url "https://github.com/Dark-Alex-17/gman/releases/download/v$version/gman-macos-arm64.tar.gz" + url "https://github.com/Dark-Alex-17/gman/releases/download/v$version/gman-aarch64-apple-darwin.tar.gz" sha256 "$hash_mac_arm" elsif OS.mac? and Hardware::CPU.intel? - url "https://github.com/Dark-Alex-17/gman/releases/download/v$version/gman-macos.tar.gz" + url "https://github.com/Dark-Alex-17/gman/releases/download/v$version/gman-x86_64-apple-darwin.tar.gz" sha256 "$hash_mac" else - url "https://github.com/Dark-Alex-17/gman/releases/download/v$version/gman-linux-musl.tar.gz" + url "https://github.com/Dark-Alex-17/gman/releases/download/v$version/gman-x86_64-unknown-linux-musl.tar.gz" sha256 "$hash_linux" end version "$version"