OpenCodex ကို မေးခွန်းမမေးဘဲ ထည့်သွင်းရန်၊ ပြန်ဖယ်ရှားရန်နှင့် deployment ကိရိယာများမှ ထောက်လှမ်းရန် command များ ဖြစ်ပါသည်။ command တစ်ခုကို သေချာမှသာ ပြပါသည် — manifest မှ သို့မဟုတ် installer နည်းပညာ၏ မှတ်တမ်းတင်ထားသော မူလတန်ဖိုးမှ ဖြစ်ပါသည်။
ဆက်စပ် လမ်းညွှန်: အသံတိတ်ထည့်သွင်းခြင်း switch များ - MSI၊ NSIS၊ Inno Setup · Registry သို့မဟုတ် PowerShell ဖြင့် ပရိုဂရမ် ဖယ်ရှားနည်း
winget ဖြင့်
winget install --id RyensX.OpenCodex -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id RyensX.OpenCodex -e --silentwinget uninstall --id RyensX.OpenCodex -e --silentInstaller အလိုက်
64-bit · EXE (NSIS) · လက်ရှိအသုံးပြုသူ
OpenCodex.Setup.2.1.0.exe /SOpenCodex.Setup.2.1.0.exe /S /D=C:\Apps\opencodex- Uninstall registry key
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\ce0e88bf-c4e1-5d5f-bd8c-44770c64a07a
64-bit · EXE (NSIS) · အသုံးပြုသူအားလုံး
OpenCodex.Setup.2.1.0.exe /SOpenCodex.Setup.2.1.0.exe /S /D=C:\Apps\opencodex- Uninstall registry key
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\ce0e88bf-c4e1-5d5f-bd8c-44770c64a07a
PowerShell - ဒေါင်းလုဒ်၊ စစ်ဆေး၊ ထည့်သွင်း
တရားဝင်ဖိုင်ကို ဒေါင်းလုဒ်လုပ်ပြီး SHA256 ကို စစ်ဆေးကာ အသံတိတ် ထည့်သွင်းပါသည်။
$url = 'https://github.com/RyensX/OpenCodex/releases/download/2.1.0/OpenCodex.Setup.2.1.0.exe'
$sha256 = '2A910AFF1D359CEC2BF16545AC0C593F24D134805BF60EC73C35E97754043593'
$file = Join-Path $env:TEMP 'OpenCodex.Setup.2.1.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 $url = 'https://github.com/RyensX/OpenCodex/releases/download/2.1.0/OpenCodex.Setup.2.1.0.exe'
$sha256 = '2A910AFF1D359CEC2BF16545AC0C593F24D134805BF60EC73C35E97754043593'
$file = Join-Path $env:TEMP 'OpenCodex.Setup.2.1.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