codeg ကို မေးခွန်းမမေးဘဲ ထည့်သွင်းရန်၊ ပြန်ဖယ်ရှားရန်နှင့် deployment ကိရိယာများမှ ထောက်လှမ်းရန် command များ ဖြစ်ပါသည်။ command တစ်ခုကို သေချာမှသာ ပြပါသည် — manifest မှ သို့မဟုတ် installer နည်းပညာ၏ မှတ်တမ်းတင်ထားသော မူလတန်ဖိုးမှ ဖြစ်ပါသည်။
ဆက်စပ် လမ်းညွှန်: အသံတိတ်ထည့်သွင်းခြင်း switch များ - MSI၊ NSIS၊ Inno Setup · Registry သို့မဟုတ် PowerShell ဖြင့် ပရိုဂရမ် ဖယ်ရှားနည်း
winget ဖြင့်
winget install --id XinTaoFei.Codeg -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id XinTaoFei.Codeg -e --silentwinget uninstall --id XinTaoFei.Codeg -e --silentInstaller အလိုက်
64-bit · EXE (NSIS) · လက်ရှိအသုံးပြုသူ
codeg_0.40.0_x64-setup.exe /Scodeg_0.40.0_x64-setup.exe /S /D=C:\Apps\codeg- Uninstall registry key
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\codeg
ARM64 · EXE (NSIS) · လက်ရှိအသုံးပြုသူ
codeg_0.40.0_arm64-setup.exe /Scodeg_0.40.0_arm64-setup.exe /S /D=C:\Apps\codeg- Uninstall registry key
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\codeg
PowerShell - ဒေါင်းလုဒ်၊ စစ်ဆေး၊ ထည့်သွင်း
တရားဝင်ဖိုင်ကို ဒေါင်းလုဒ်လုပ်ပြီး SHA256 ကို စစ်ဆေးကာ အသံတိတ် ထည့်သွင်းပါသည်။
$url = 'https://github.com/spacering-net/codeg/releases/download/v0.40.0/codeg_0.40.0_x64-setup.exe'
$sha256 = '2172C3E4F9A9795DF6DAEEE526CA38A255235F9255F009B8C486DA07CEC8332F'
$file = Join-Path $env:TEMP 'codeg_0.40.0_x64-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 $url = 'https://github.com/spacering-net/codeg/releases/download/v0.40.0/codeg_0.40.0_arm64-setup.exe'
$sha256 = '5E8601407337369CA6CBD3F645BE584233F5A53EC48AC14CA111319AEB858971'
$file = Join-Path $env:TEMP 'codeg_0.40.0_arm64-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