Unity Hub ကို မေးခွန်းမမေးဘဲ ထည့်သွင်းရန်၊ ပြန်ဖယ်ရှားရန်နှင့် deployment ကိရိယာများမှ ထောက်လှမ်းရန် command များ ဖြစ်ပါသည်။ command တစ်ခုကို သေချာမှသာ ပြပါသည် — manifest မှ သို့မဟုတ် installer နည်းပညာ၏ မှတ်တမ်းတင်ထားသော မူလတန်ဖိုးမှ ဖြစ်ပါသည်။
ဆက်စပ် လမ်းညွှန်: အသံတိတ်ထည့်သွင်းခြင်း switch များ - MSI၊ NSIS၊ Inno Setup · Registry သို့မဟုတ် PowerShell ဖြင့် ပရိုဂရမ် ဖယ်ရှားနည်း
winget ဖြင့်
PowerShell
winget install --id Unity.UnityHub -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id Unity.UnityHub -e --silentwinget uninstall --id Unity.UnityHub -e --silentInstaller အလိုက်
64-bit · EXE (NSIS) · အသုံးပြုသူအားလုံး
အသံတိတ်ထည့်သွင်းခြင်း
UnityHubSetup-4.0.2-x64-msix-converter.exe /Sစိတ်ကြိုက် ဖိုင်တွဲ
UnityHubSetup-4.0.2-x64-msix-converter.exe /S /D=C:\Apps\unity-hub- Uninstall registry key
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Unity Technologies - Hub
- DisplayVersion
- 4.0.2
64-bit · MSIX
အသံတိတ်ထည့်သွင်းခြင်း
Add-AppxPackage -Path UnityHubSetup-4.0.2-x64.msixဖယ်ရှားခြင်း (Uninstall)
Get-AppxPackage -Name UnityTechnologies.UnityHub | Remove-AppxPackageARM64 · EXE (NSIS) · အသုံးပြုသူအားလုံး
အသံတိတ်ထည့်သွင်းခြင်း
UnityHubSetup-4.0.2-arm64-msix-converter.exe /Sစိတ်ကြိုက် ဖိုင်တွဲ
UnityHubSetup-4.0.2-arm64-msix-converter.exe /S /D=C:\Apps\unity-hub- Uninstall registry key
- HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\Unity Technologies - Hub
- DisplayVersion
- 4.0.2
ARM64 · MSIX
အသံတိတ်ထည့်သွင်းခြင်း
Add-AppxPackage -Path UnityHubSetup-4.0.2-arm64.msixဖယ်ရှားခြင်း (Uninstall)
Get-AppxPackage -Name UnityTechnologies.UnityHub | Remove-AppxPackagePowerShell - ဒေါင်းလုဒ်၊ စစ်ဆေး၊ ထည့်သွင်း
တရားဝင်ဖိုင်ကို ဒေါင်းလုဒ်လုပ်ပြီး SHA256 ကို စစ်ဆေးကာ အသံတိတ် ထည့်သွင်းပါသည်။
install-unity-hub.ps1
$url = 'https://public-cdn.cloud.unity3d.com/hub/prod/4.0.2/UnityHubSetup-4.0.2-x64-msix-converter.exe'
$sha256 = '4B8F119261515F80C4D9B8AA78ED1C74C1F09281CBBF66F994224FB8C55EE56C'
$file = Join-Path $env:TEMP 'UnityHubSetup-4.0.2-x64-msix-converter.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-unity-hub.ps1
$url = 'https://public-cdn.cloud.unity3d.com/hub/prod/4.0.2/UnityHubSetup-4.0.2-x64.msix'
$sha256 = '547DC633C75792F8D11F9051047604E68F17D58F15BE2ACAFB41816CD9E6655F'
$file = Join-Path $env:TEMP 'UnityHubSetup-4.0.2-x64.msix'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Add-AppxPackage -Path $file install-unity-hub.ps1
$url = 'https://public-cdn.cloud.unity3d.com/hub/prod/4.0.2/UnityHubSetup-4.0.2-arm64-msix-converter.exe'
$sha256 = '95C9C8E9CBE14DB81CF732467872A28FDD81476305239F58FD2DE19684C37F53'
$file = Join-Path $env:TEMP 'UnityHubSetup-4.0.2-arm64-msix-converter.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-unity-hub.ps1
$url = 'https://public-cdn.cloud.unity3d.com/hub/prod/4.0.2/UnityHubSetup-4.0.2-arm64.msix'
$sha256 = 'DD274CE273AE4AAD72AEFFD961804C843E9D26D4B9C3DE1B76D079D0CFFBD20A'
$file = Join-Path $env:TEMP 'UnityHubSetup-4.0.2-arm64.msix'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Add-AppxPackage -Path $file