Komandos programai 유니콘 HTTPS įdiegti be klausimų, pašalinti ir aptikti diegimo įrankiuose. Komanda rodoma tik tada, kai ji patikima: iš manifesto arba iš dokumentuotų diegimo technologijos numatytųjų parametrų.
Susijusi instrukcija: Tyliojo diegimo parametrai: MSI, NSIS, Inno Setup · Programos šalinimas per registrą ar PowerShell
Su winget
PowerShell
winget install --id UnicornSoft.UnicornHTTPS -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id UnicornSoft.UnicornHTTPS -e --silentwinget uninstall --id UnicornSoft.UnicornHTTPS -e --silentPagal diegimo failus
32 bitų · EXE (NSIS) · Visi naudotojai · ko-KR
Tylusis diegimas
unicorn-https-setup.exe /SKitas aplankas
unicorn-https-setup.exe /S /D=C:\Apps\https- Šalinimo raktas registre
- HKLM\SOFTWARE\WOW6432Node\Microsoft\Windows\CurrentVersion\Uninstall\Unicorn HTTPS
PowerShell: atsisiųsti, patikrinti, įdiegti
Atsisiunčia oficialų failą, patikrina SHA256 ir tyliai jį įdiegia.
install-https.ps1
$url = 'https://unicornhttps-production.s3.ap-northeast-2.amazonaws.com/unicornhttps/v1/hello/windows/unicorn-https-setup.exe'
$sha256 = 'D2C1D56DBB1BF331F2E7F50FDFECDA9FE89FA8BAAC2732A080253F71294632F9'
$file = Join-Path $env:TEMP 'unicorn-https-setup.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