mirror of
https://github.com/ChrisTitusTech/winutil.git
synced 2024-11-14 14:45:52 -06:00
Compile Winutil
This commit is contained in:
parent
97f67fa4b2
commit
97e517a9dd
34
winutil.ps1
34
winutil.ps1
@ -5308,7 +5308,6 @@ function Invoke-WPFRunspace {
|
||||
[System.GC]::Collect()
|
||||
}
|
||||
}
|
||||
|
||||
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`"`'"
|
||||
|
||||
$DestinationName = "WinUtil.lnk"
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@ -5362,8 +5360,8 @@ function Invoke-WPFShortcut {
|
||||
# Prepare the Shortcut paramter
|
||||
$WshShell = New-Object -comObject WScript.Shell
|
||||
$Shortcut = $WshShell.CreateShortcut($FileBrowser.FileName)
|
||||
$Shortcut.TargetPath = $SourceExe
|
||||
$Shortcut.Arguments = $ArgumentsToSourceExe
|
||||
$Shortcut.TargetPath = $shell
|
||||
$Shortcut.Arguments = $shellArgs
|
||||
if (Test-Path -Path $winutildir["logo.ico"]) {
|
||||
$shortcut.IconLocation = $winutildir["logo.ico"]
|
||||
}
|
||||
@ -16050,8 +16048,8 @@ Stop-Transcript
|
||||
# SIG # Begin signature block
|
||||
# MIIQRwYJKoZIhvcNAQcCoIIQODCCEDQCAQExDzANBglghkgBZQMEAgEFADB5Bgor
|
||||
# BgEEAYI3AgEEoGswaTA0BgorBgEEAYI3AgEeMCYCAwEAAAQQH8w7YFlLCE63JNLG
|
||||
# KX7zUQIBAAIBAAIBAAIBAAIBADAxMA0GCWCGSAFlAwQCAQUABCAyt4EvMfEjVNe8
|
||||
# urxQYj3hCkundoN52rMnvwiaTV90v6CCDIMwggYaMIIEAqADAgECAhBiHW0MUgGe
|
||||
# KX7zUQI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T7KE0fU0
|
||||
# oRbjDHTWw9j6U/vc/uDGtxAihbtNLfG2Af2pgfuqgC60gPAh6b9auzBlliSw2lSi
|
||||
# pWOUFLDLNRxgV1Vb1Ikh95nbHgXhjMHYl1a18t20d/0L+DDdPHkjqgyQ1Q==
|
||||
# SIG # End signature block
|
||||
|
Loading…
Reference in New Issue
Block a user