คำสั่งสำหรับติดตั้ง Proton โดยไม่มีหน้าต่างถามตอบ ถอนการติดตั้ง และตรวจจับจากเครื่องมือกระจายซอฟต์แวร์ เราแสดงคำสั่งเฉพาะเมื่อแน่ใจเท่านั้น คือมาจากแมนิเฟสต์หรือค่าเริ่มต้นที่มีเอกสารของเทคโนโลยีตัวติดตั้งนั้น
คู่มือที่เกี่ยวข้อง: พารามิเตอร์ติดตั้งแบบเงียบ: MSI, NSIS, Inno Setup · ถอนการติดตั้งโปรแกรมผ่านรีจิสทรีหรือ PowerShell
ใช้ winget
PowerShell
winget install --id steventhanna.proton -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id steventhanna.proton -e --silentwinget uninstall --id steventhanna.proton -e --silentแยกตามตัวติดตั้ง
64 บิต · EXE (NSIS) · ผู้ใช้ปัจจุบัน · en-US
ติดตั้งแบบเงียบ
Proton.Setup.0.2.0.exe /Sกำหนดโฟลเดอร์เอง
Proton.Setup.0.2.0.exe /S /D=C:\Apps\protonPowerShell: ดาวน์โหลด ตรวจสอบ ติดตั้ง
ดาวน์โหลดไฟล์ทางการ ตรวจสอบค่า SHA256 แล้วติดตั้งแบบเงียบ
install-proton.ps1
$url = 'https://github.com/steventhanna/proton/releases/download/v0.2.1/Proton.Setup.0.2.0.exe'
$sha256 = 'CDD6DCC04DA6D86623885145C5843834B9F23BA86E1C63C25BBF3C5BC4100433'
$file = Join-Path $env:TEMP 'Proton.Setup.0.2.0.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