OpenWork ကို မေးခွန်းမမေးဘဲ ထည့်သွင်းရန်၊ ပြန်ဖယ်ရှားရန်နှင့် deployment ကိရိယာများမှ ထောက်လှမ်းရန် command များ ဖြစ်ပါသည်။ command တစ်ခုကို သေချာမှသာ ပြပါသည် — manifest မှ သို့မဟုတ် installer နည်းပညာ၏ မှတ်တမ်းတင်ထားသော မူလတန်ဖိုးမှ ဖြစ်ပါသည်။
ဆက်စပ် လမ်းညွှန်: အသံတိတ်ထည့်သွင်းခြင်း switch များ - MSI၊ NSIS၊ Inno Setup · Registry သို့မဟုတ် PowerShell ဖြင့် ပရိုဂရမ် ဖယ်ရှားနည်း
winget ဖြင့်
PowerShell
winget install --id DifferentAI.OpenWork -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id DifferentAI.OpenWork -e --silentwinget uninstall --id DifferentAI.OpenWork -e --silentInstaller အလိုက်
64-bit · EXE (NSIS) · လက်ရှိအသုံးပြုသူ
အသံတိတ်ထည့်သွင်းခြင်း
openwork-cloud-win-x64-0.18.63.exe /Sစိတ်ကြိုက် ဖိုင်တွဲ
openwork-cloud-win-x64-0.18.63.exe /S /D=C:\Apps\openwork- Uninstall registry key
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\29165f8a-586b-5470-a1cc-cfff30a85ed3
PowerShell - ဒေါင်းလုဒ်၊ စစ်ဆေး၊ ထည့်သွင်း
တရားဝင်ဖိုင်ကို ဒေါင်းလုဒ်လုပ်ပြီး SHA256 ကို စစ်ဆေးကာ အသံတိတ် ထည့်သွင်းပါသည်။
install-openwork.ps1
$url = 'https://github.com/different-ai/openwork/releases/download/v0.18.63/openwork-cloud-win-x64-0.18.63.exe'
$sha256 = '50E6FE18297BE3EB6855B84DC1AC7015901202D6BCA5C568173F1D6A7F47B0B7'
$file = Join-Path $env:TEMP 'openwork-cloud-win-x64-0.18.63.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