Dive ကို မေးခွန်းမမေးဘဲ ထည့်သွင်းရန်၊ ပြန်ဖယ်ရှားရန်နှင့် deployment ကိရိယာများမှ ထောက်လှမ်းရန် command များ ဖြစ်ပါသည်။ command တစ်ခုကို သေချာမှသာ ပြပါသည် — manifest မှ သို့မဟုတ် installer နည်းပညာ၏ မှတ်တမ်းတင်ထားသော မူလတန်ဖိုးမှ ဖြစ်ပါသည်။
ဆက်စပ် လမ်းညွှန်: အသံတိတ်ထည့်သွင်းခြင်း switch များ - MSI၊ NSIS၊ Inno Setup · Registry သို့မဟုတ် PowerShell ဖြင့် ပရိုဂရမ် ဖယ်ရှားနည်း
winget ဖြင့်
PowerShell
winget install --id OpenAgentPlatform.Dive -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id OpenAgentPlatform.Dive -e --silentwinget uninstall --id OpenAgentPlatform.Dive -e --silentInstaller အလိုက်
64-bit · EXE (NSIS) · လက်ရှိအသုံးပြုသူ
အသံတိတ်ထည့်သွင်းခြင်း
Dive-electron-0.14.3-win-x64.exe /Sစိတ်ကြိုက် ဖိုင်တွဲ
Dive-electron-0.14.3-win-x64.exe /S /D=C:\Apps\dive- Uninstall registry key
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\6675a1a1-f6e6-5b85-8f7b-ac0387bb4ec2
64-bit · EXE (NSIS) · အသုံးပြုသူအားလုံး
အသံတိတ်ထည့်သွင်းခြင်း
Dive-electron-0.14.3-win-x64.exe /Sစိတ်ကြိုက် ဖိုင်တွဲ
Dive-electron-0.14.3-win-x64.exe /S /D=C:\Apps\dive- Uninstall registry key
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\6675a1a1-f6e6-5b85-8f7b-ac0387bb4ec2
PowerShell - ဒေါင်းလုဒ်၊ စစ်ဆေး၊ ထည့်သွင်း
တရားဝင်ဖိုင်ကို ဒေါင်းလုဒ်လုပ်ပြီး SHA256 ကို စစ်ဆေးကာ အသံတိတ် ထည့်သွင်းပါသည်။
install-dive.ps1
$url = 'https://github.com/OpenAgentPlatform/Dive/releases/download/v0.14.3/Dive-electron-0.14.3-win-x64.exe'
$sha256 = 'F45F332C75288C6002949E942F00B6954E806C26C7D57CD7F0A28CC75595FC9C'
$file = Join-Path $env:TEMP 'Dive-electron-0.14.3-win-x64.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 install-dive.ps1
$url = 'https://github.com/OpenAgentPlatform/Dive/releases/download/v0.14.3/Dive-electron-0.14.3-win-x64.exe'
$sha256 = 'F45F332C75288C6002949E942F00B6954E806C26C7D57CD7F0A28CC75595FC9C'
$file = Join-Path $env:TEMP 'Dive-electron-0.14.3-win-x64.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