mirror of
				https://github.com/winfsp/winfsp.git
				synced 2025-10-30 19:48:38 -05:00 
			
		
		
		
	build: choco: update chocolatey package as per guidelines from chocolatey admin
This commit is contained in:
		| @@ -1,16 +1,14 @@ | ||||
| $ErrorActionPreference = 'Stop'; | ||||
|  | ||||
| $toolsDir           = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)" | ||||
| $fileLocation       = @(Get-ChildItem $toolsDir -filter winfsp-*.msi)[0].FullName | ||||
| $toolsDir = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)" | ||||
| . "$toolsdir\chocolateyHelper.ps1" | ||||
|  | ||||
| $packageArgs = @{ | ||||
|     packageName     = 'winfsp' | ||||
|     fileType        = 'msi' | ||||
|     file            = $fileLocation | ||||
|     file            = @(Get-ChildItem $toolsDir -filter winfsp-*.msi)[0].FullName | ||||
|     silentArgs      = "/qn /norestart INSTALLLEVEL=1000" | ||||
|     validExitCodes  = @(0, 3010, 1641) | ||||
| } | ||||
|  | ||||
| Install-ChocolateyInstallPackage @packageArgs | ||||
|  | ||||
| Remove-Item -Force $packageArgs.file | ||||
|   | ||||
		Reference in New Issue
	
	Block a user