Compile Winutil

This commit is contained in:
ChrisTitusTech 2024-08-06 17:54:11 +00:00 committed by github-actions[bot]
parent 97f67fa4b2
commit 97e517a9dd

View File

@ -5308,7 +5308,6 @@ function Invoke-WPFRunspace {
[System.GC]::Collect() [System.GC]::Collect()
} }
} }
function Invoke-WPFShortcut { function Invoke-WPFShortcut {
<# <#
@ -5342,7 +5341,6 @@ function Invoke-WPFShortcut {
$shellArgs = "-ExecutionPolicy Bypass -Command `"Start-Process $shell -verb runas -ArgumentList `'-Command `"irm https://github.com/ChrisTitusTech/winutil/releases/latest/download/winutil.ps1 | iex`"`'" $shellArgs = "-ExecutionPolicy Bypass -Command `"Start-Process $shell -verb runas -ArgumentList `'-Command `"irm https://github.com/ChrisTitusTech/winutil/releases/latest/download/winutil.ps1 | iex`"`'"
$DestinationName = "WinUtil.lnk" $DestinationName = "WinUtil.lnk"
} }
} }
@ -5362,8 +5360,8 @@ function Invoke-WPFShortcut {
# Prepare the Shortcut paramter # Prepare the Shortcut paramter
$WshShell = New-Object -comObject WScript.Shell $WshShell = New-Object -comObject WScript.Shell
$Shortcut = $WshShell.CreateShortcut($FileBrowser.FileName) $Shortcut = $WshShell.CreateShortcut($FileBrowser.FileName)
$Shortcut.TargetPath = $SourceExe $Shortcut.TargetPath = $shell
$Shortcut.Arguments = $ArgumentsToSourceExe $Shortcut.Arguments = $shellArgs
if (Test-Path -Path $winutildir["logo.ico"]) { if (Test-Path -Path $winutildir["logo.ico"]) {
$shortcut.IconLocation = $winutildir["logo.ico"] $shortcut.IconLocation = $winutildir["logo.ico"]
} }
@ -16050,8 +16048,8 @@ Stop-Transcript
# SIG # Begin signature block # SIG # Begin signature block
# MIIQRwYJKoZIhvcNAQcCoIIQODCCEDQCAQExDzANBglghkgBZQMEAgEFADB5Bgor # MIIQRwYJKoZIhvcNAQcCoIIQODCCEDQCAQExDzANBglghkgBZQMEAgEFADB5Bgor
# BgEEAYI3AgEEoGswaTA0BgorBgEEAYI3AgEeMCYCAwEAAAQQH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