mirror of
https://github.com/ChrisTitusTech/winutil.git
synced 2025-07-01 18:42:35 -05:00
add silent installation
This commit is contained in:
@ -119,7 +119,7 @@ Function Uninstall-WinUtilEdgeBrowser {
|
|||||||
|
|
||||||
write-host "Installing Edge"
|
write-host "Installing Edge"
|
||||||
Invoke-WebRequest -Uri "https://go.microsoft.com/fwlink/?linkid=2109047&Channel=Stable&language=en&consent=1" -OutFile $tempEdgePath
|
Invoke-WebRequest -Uri "https://go.microsoft.com/fwlink/?linkid=2109047&Channel=Stable&language=en&consent=1" -OutFile $tempEdgePath
|
||||||
Start-Process -FilePath $tempEdgePath
|
Start-Process -FilePath $tempEdgePath -ArgumentList "/silent /install" -Wait
|
||||||
Remove-item $tempEdgePath
|
Remove-item $tempEdgePath
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user