Shift ကို မေးခွန်းမမေးဘဲ ထည့်သွင်းရန်၊ ပြန်ဖယ်ရှားရန်နှင့် deployment ကိရိယာများမှ ထောက်လှမ်းရန် command များ ဖြစ်ပါသည်။ command တစ်ခုကို သေချာမှသာ ပြပါသည် — manifest မှ သို့မဟုတ် installer နည်းပညာ၏ မှတ်တမ်းတင်ထားသော မူလတန်ဖိုးမှ ဖြစ်ပါသည်။
ဆက်စပ် လမ်းညွှန်: အသံတိတ်ထည့်သွင်းခြင်း switch များ - MSI၊ NSIS၊ Inno Setup · Registry သို့မဟုတ် PowerShell ဖြင့် ပရိုဂရမ် ဖယ်ရှားနည်း
winget ဖြင့်
PowerShell
winget install --id Shift.Shift -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Shift.Shift -e --silentwinget uninstall --id Shift.Shift -e --silentInstaller အလိုက်
64-bit · EXE (Inno Setup) · လက်ရှိအသုံးပြုသူ
အသံတိတ်ထည့်သွင်းခြင်း
shift-v9.6.8.1270-stable-x64.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-စိတ်ကြိုက် ဖိုင်တွဲ
shift-v9.6.8.1270-stable-x64.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\shift"- Uninstall registry key
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{4BA3EF94-93FA-4376-96DC-3BF6506C8DE5}_is1
64-bit · EXE (Inno Setup) · အသုံးပြုသူအားလုံး
အသံတိတ်ထည့်သွင်းခြင်း
shift-v9.6.8.1270-stable-x64.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-စိတ်ကြိုက် ဖိုင်တွဲ
shift-v9.6.8.1270-stable-x64.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- /DIR="C:\Apps\shift"- Uninstall registry key
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\{4BA3EF94-93FA-4376-96DC-3BF6506C8DE5}_is1
PowerShell - ဒေါင်းလုဒ်၊ စစ်ဆေး၊ ထည့်သွင်း
တရားဝင်ဖိုင်ကို ဒေါင်းလုဒ်လုပ်ပြီး SHA256 ကို စစ်ဆေးကာ အသံတိတ် ထည့်သွင်းပါသည်။
install-shift.ps1
$url = 'https://updates.tryshift.com/v9.6.8/stable/shift-v9.6.8.1270-stable-x64.exe'
$sha256 = 'A340976691A87748172BDB46AC959940A21EF520FD143DA91D26C2395D0F0D69'
$file = Join-Path $env:TEMP 'shift-v9.6.8.1270-stable-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 '/VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-' -Wait install-shift.ps1
$url = 'https://updates.tryshift.com/v9.6.8/stable/shift-v9.6.8.1270-stable-x64.exe'
$sha256 = 'A340976691A87748172BDB46AC959940A21EF520FD143DA91D26C2395D0F0D69'
$file = Join-Path $env:TEMP 'shift-v9.6.8.1270-stable-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 '/VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP-' -Wait