دستورهایی برای نصب Celestial بدون پنجره و پرسش، حذف دوباره آن و تشخیص آن در ابزارهای توزیع نرمافزار. هر دستور فقط وقتی نمایش داده میشود که قطعی باشد: از مانیفست یا از پیشفرض مستند فناوری نصبکننده.
آموزش مرتبط: سوییچهای نصب بیصدا: MSI، NSIS و Inno Setup · حذف برنامه با رجیستری یا PowerShell در ویندوز
با winget
PowerShell
winget install --id PiusPP.Celestial -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id PiusPP.Celestial -e --silentwinget uninstall --id PiusPP.Celestial -e --silentبر اساس نصبکننده
۶۴ بیتی · EXE (NSIS) · همه کاربران · en-US
نصب بیصدا
Celestial_2.1.0_x64-setup.exe /Sپوشه دلخواه
Celestial_2.1.0_x64-setup.exe /S /D=C:\Apps\celestialPowerShell: دانلود، بررسی، نصب
فایل رسمی را دانلود میکند، هش SHA256 آن را بررسی میکند و آن را بیصدا نصب میکند.
install-celestial.ps1
$url = 'https://github.com/pius-pp/celestial-mihomo-client-public/releases/download/v2.1.0/Celestial_2.1.0_x64-setup.exe'
$sha256 = 'A3A85FAA9B5A95DCED05B600EF30B71A24C71A79BAFF0FCD745730EED9F41A8A'
$file = Join-Path $env:TEMP 'Celestial_2.1.0_x64-setup.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