Skip to content

Commit

Permalink
get-childitem
Browse files Browse the repository at this point in the history
  • Loading branch information
tunisiano187 committed Apr 13, 2024
1 parent 0144a6f commit a7bba95
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion automatic/searchmyfiles/tools/chocolateyInstall.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ $ErrorActionPreference = 'Stop'
$toolsDir = "$(Split-Path -parent $MyInvocation.MyCommand.Definition)"
$file32 = "$(Join-Path $toolsDir -ChildPath 'searchmyfiles.zip')"
$file64 = "$(Join-Path $toolsDir -ChildPath 'searchmyfiles-x64.zip')"
$installFile = Join-Path $toolsDir "$($env:ChocolateyPackageName).exe"

$unzipArgs = @{
PackageName = $env:ChocolateyPackageName
Expand All @@ -13,5 +12,7 @@ $unzipArgs = @{

Get-ChocolateyUnzip @unzipArgs

$installFile = (get-childitem -Filter "*.exe" -Recurse).FullName

Set-Content -Path ("$installFile.gui") `
-Value $null

0 comments on commit a7bba95

Please sign in to comment.