bottom ကို မေးခွန်းမမေးဘဲ ထည့်သွင်းရန်၊ ပြန်ဖယ်ရှားရန်နှင့် deployment ကိရိယာများမှ ထောက်လှမ်းရန် command များ ဖြစ်ပါသည်။ command တစ်ခုကို သေချာမှသာ ပြပါသည် — manifest မှ သို့မဟုတ် installer နည်းပညာ၏ မှတ်တမ်းတင်ထားသော မူလတန်ဖိုးမှ ဖြစ်ပါသည်။
ဆက်စပ် လမ်းညွှန်: အသံတိတ်ထည့်သွင်းခြင်း switch များ - MSI၊ NSIS၊ Inno Setup · Registry သို့မဟုတ် PowerShell ဖြင့် ပရိုဂရမ် ဖယ်ရှားနည်း
winget ဖြင့်
PowerShell
winget install --id Clement.bottom -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Clement.bottom -e --silentwinget uninstall --id Clement.bottom -e --silentInstaller အလိုက်
64-bit · MSI · အသုံးပြုသူအားလုံး · en-US
အသံတိတ်ထည့်သွင်းခြင်း
msiexec /i bottom_x86_64_installer.msi /qn /norestartLog ဖိုင် ရေးရန်
msiexec /i bottom_x86_64_installer.msi /qn /norestart /l*v "%TEMP%\bottom-install.log"ဖယ်ရှားခြင်း (Uninstall)
msiexec /x {D843C8EC-8409-48C1-95A2-7B8DE1C3B642} /qn /norestart- MSI product code
- {D843C8EC-8409-48C1-95A2-7B8DE1C3B642}
- Uninstall registry key
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{D843C8EC-8409-48C1-95A2-7B8DE1C3B642}
- UpgradeCode
- {3C90C27D-8372-4C82-B03C-020393CB983D}
- ထည့်သွင်းမည့် ဖိုင်တွဲ
- %ProgramFiles%\.\bottom
ARM64 · MSI · အသုံးပြုသူအားလုံး · en-US
အသံတိတ်ထည့်သွင်းခြင်း
msiexec /i bottom_aarch64_installer.msi /qn /norestartLog ဖိုင် ရေးရန်
msiexec /i bottom_aarch64_installer.msi /qn /norestart /l*v "%TEMP%\bottom-install.log"ဖယ်ရှားခြင်း (Uninstall)
msiexec /x {16B2FE9D-967C-4DA9-BEA9-216A5F2D348A} /qn /norestart- MSI product code
- {16B2FE9D-967C-4DA9-BEA9-216A5F2D348A}
- Uninstall registry key
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{16B2FE9D-967C-4DA9-BEA9-216A5F2D348A}
- UpgradeCode
- {3C90C27D-8372-4C82-B03C-020393CB983D}
- ထည့်သွင်းမည့် ဖိုင်တွဲ
- %ProgramFiles%\.\bottom
PowerShell - ဒေါင်းလုဒ်၊ စစ်ဆေး၊ ထည့်သွင်း
တရားဝင်ဖိုင်ကို ဒေါင်းလုဒ်လုပ်ပြီး SHA256 ကို စစ်ဆေးကာ အသံတိတ် ထည့်သွင်းပါသည်။
install-bottom.ps1
$url = 'https://github.com/ClementTsang/bottom/releases/download/0.15.0/bottom_x86_64_installer.msi'
$sha256 = 'F2988C4695A10B29E7F507564F308ECFB0221F5B0C87F6431AF54894325CD815'
$file = Join-Path $env:TEMP 'bottom_x86_64_installer.msi'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Start-Process msiexec.exe -ArgumentList '/i', ('"{0}"' -f $file), '/qn', '/norestart' -Wait install-bottom.ps1
$url = 'https://github.com/ClementTsang/bottom/releases/download/0.15.0/bottom_aarch64_installer.msi'
$sha256 = 'CDB824CD4EB33890472735F648A27208EF6FFD80C94B763BA7065A9E747227F6'
$file = Join-Path $env:TEMP 'bottom_aarch64_installer.msi'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Start-Process msiexec.exe -ArgumentList '/i', ('"{0}"' -f $file), '/qn', '/norestart' -Wait