texpaste programını soru sormadan kurmak, kaldırmak ve dağıtım araçlarında algılamak için komutlar. Bir komut yalnızca kesinse gösterilir: manifestteki anahtar ya da kurulum teknolojisinin belgelenmiş varsayılanı.
İlgili rehber: Sessiz kurulum parametreleri: MSI, NSIS, Inno Setup · Kayıt defteri veya PowerShell ile program kaldırma
winget ile
PowerShell
winget install --id jonasmusall.texpaste -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id jonasmusall.texpaste -e --silentwinget uninstall --id jonasmusall.texpaste -e --silentKurulum dosyasına göre
64 bit · EXE (NSIS)
Sessiz kurulum
texpaste_1.2.0_win_setup.exe /SFarklı klasör
texpaste_1.2.0_win_setup.exe /S /D=C:\Apps\texpastePowerShell: indir, doğrula, kur
Resmî dosyayı indirir, SHA256 değerini doğrular ve sessizce kurar.
install-texpaste.ps1
$url = 'https://github.com/jonasmusall/texpaste/releases/download/v1.2.0/texpaste_1.2.0_win_setup.exe'
$sha256 = '317BD57646881FBFC2F57B0B0ECD9A1F10C024ED1BC659932FE05515836EAAF9'
$file = Join-Path $env:TEMP 'texpaste_1.2.0_win_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