Bubble Beta ကို မေးခွန်းမမေးဘဲ ထည့်သွင်းရန်၊ ပြန်ဖယ်ရှားရန်နှင့် deployment ကိရိယာများမှ ထောက်လှမ်းရန် command များ ဖြစ်ပါသည်။ command တစ်ခုကို သေချာမှသာ ပြပါသည် — manifest မှ သို့မဟုတ် installer နည်းပညာ၏ မှတ်တမ်းတင်ထားသော မူလတန်ဖိုးမှ ဖြစ်ပါသည်။
ဆက်စပ် လမ်းညွှန်: အသံတိတ်ထည့်သွင်းခြင်း switch များ - MSI၊ NSIS၊ Inno Setup · Registry သို့မဟုတ် PowerShell ဖြင့် ပရိုဂရမ် ဖယ်ရှားနည်း
winget ဖြင့်
winget install --id RedCactus.BubbleBeta -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id RedCactus.BubbleBeta -e --silentwinget uninstall --id RedCactus.BubbleBeta -e --silentInstaller အလိုက်
64-bit · MSI · en-US
msiexec /i 494342c8-f3e9-491d-b6f2-4654c8ac8cbd /qn /norestartmsiexec /i 494342c8-f3e9-491d-b6f2-4654c8ac8cbd /qn /norestart /l*v "%TEMP%\bubble-beta-install.log"msiexec /x {2FBD6A3B-9174-485E-BFA0-A1E050181EA8} /qn /norestart- MSI product code
- {2FBD6A3B-9174-485E-BFA0-A1E050181EA8}
- Uninstall registry key
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{2FBD6A3B-9174-485E-BFA0-A1E050181EA8}
- UpgradeCode
- {56FC8793-125F-40DC-8864-EC6FCADC95D4}
- ထည့်သွင်းမည့် ဖိုင်တွဲ
- APPDIR:.
PowerShell - ဒေါင်းလုဒ်၊ စစ်ဆေး၊ ထည့်သွင်း
တရားဝင်ဖိုင်ကို ဒေါင်းလုဒ်လုပ်ပြီး SHA256 ကို စစ်ဆေးကာ အသံတိတ် ထည့်သွင်းပါသည်။
$url = 'https://api.eu.redcactus.cloud/v1/public/software/download/494342c8-f3e9-491d-b6f2-4654c8ac8cbd'
$sha256 = '3CA7120BC930F3DA5876323B68E2E157859AD344FFB67F8D700AA53C9A54F23E'
$file = Join-Path $env:TEMP '494342c8-f3e9-491d-b6f2-4654c8ac8cbd'
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