Skip to content

Commit

Permalink
Runs the install script from 2fast package when installing it.
Browse files Browse the repository at this point in the history
  • Loading branch information
Xav83 committed Sep 18, 2023
1 parent 3d6200a commit f9d0d82
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion automatic/2fast/tools/chocolateyInstall.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,16 @@
$url64 = ''
$checksum64 = ''

$toolsPath = Split-Path $MyInvocation.MyCommand.Definition

$packageArgs = @{
packageName = $env:ChocolateyPackageName
url64Bit = $url64
checksum64 = $checksum64
checksumType64 = 'sha256'
unzipLocation = Split-Path $MyInvocation.MyCommand.Definition
unzipLocation = $toolsPath
}

Install-ChocolateyZipPackage @packageArgs

if (Test-Path $toolsPath/install.ps1) { . $toolsPath/install.ps1 }

0 comments on commit f9d0d82

Please sign in to comment.