Kommandon för att installera WebKitty utan frågor, ta bort programmet igen och identifiera det i distributionsverktyg. Ett kommando visas bara när det är säkert: från manifestet eller som installationsteknikens dokumenterade standard.
Relaterad guide: Parametrar för tyst installation: MSI, NSIS, Inno · Avinstallera program via registret eller PowerShell
Med winget
PowerShell
winget install --id YikuanSun.WebKitty -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id YikuanSun.WebKitty -e --silentwinget uninstall --id YikuanSun.WebKitty -e --silentPer installationsfil
64-bitars · EXE (NSIS)
Tyst installation
WebKitty.Setup.3.2.1.exe /SEgen mapp
WebKitty.Setup.3.2.1.exe /S /D=C:\Apps\webkittyPowerShell: ladda ner, kontrollera, installera
Laddar ner den officiella filen, kontrollerar dess SHA256 och installerar tyst.
install-webkitty.ps1
$url = 'https://github.com/yikuansun/webkitty/releases/download/v3.2.1/WebKitty.Setup.3.2.1.exe'
$sha256 = 'A3258633CB03D54A4CC04741B1F0765D215E34DF815C43618D30CD07B0338E0A'
$file = Join-Path $env:TEMP 'WebKitty.Setup.3.2.1.exe'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Start-Process -FilePath $file -ArgumentList '/S' -Wait