ipaSim ကို မေးခွန်းမမေးဘဲ ထည့်သွင်းရန်၊ ပြန်ဖယ်ရှားရန်နှင့် deployment ကိရိယာများမှ ထောက်လှမ်းရန် command များ ဖြစ်ပါသည်။ command တစ်ခုကို သေချာမှသာ ပြပါသည် — manifest မှ သို့မဟုတ် installer နည်းပညာ၏ မှတ်တမ်းတင်ထားသော မူလတန်ဖိုးမှ ဖြစ်ပါသည်။
ဆက်စပ် လမ်းညွှန်: အသံတိတ်ထည့်သွင်းခြင်း switch များ - MSI၊ NSIS၊ Inno Setup · Registry သို့မဟုတ် PowerShell ဖြင့် ပရိုဂရမ် ဖယ်ရှားနည်း
winget ဖြင့်
PowerShell
winget install --id JanJoneš.ipaSim -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id JanJoneš.ipaSim -e --silentwinget uninstall --id JanJoneš.ipaSim -e --silentInstaller အလိုက်
CPU အားလုံး · ZIP
အသံတိတ်ထည့်သွင်းခြင်း
Add-AppxPackage -Path ipasim-build-v1.0.1-2023-01-01.zipဖယ်ရှားခြင်း (Uninstall)
Get-AppxPackage -Name 0ee863f9-dcc5-4d3b-9c2a-457bcfafc07e | Remove-AppxPackagePowerShell - ဒေါင်းလုဒ်၊ စစ်ဆေး၊ ထည့်သွင်း
တရားဝင်ဖိုင်ကို ဒေါင်းလုဒ်လုပ်ပြီး SHA256 ကို စစ်ဆေးကာ အသံတိတ် ထည့်သွင်းပါသည်။
install-ipasim.ps1
$url = 'https://github.com/ipasimulator/ipasim/releases/download/v1.0.1/ipasim-build-v1.0.1-2023-01-01.zip'
$sha256 = '89A6742D44FCB4105DE050669DCA877DD2C91A6C4B70C5317BD6432865E62265'
$file = Join-Path $env:TEMP 'ipasim-build-v1.0.1-2023-01-01.zip'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Add-AppxPackage -Path $file