I comandi per installare GPROXY CLI senza richieste, rimuoverlo e rilevarlo dagli strumenti di distribuzione. Un comando compare solo quando è certo: preso dal manifest o dal valore predefinito documentato della tecnologia di installazione.
Guida correlata: Installazione silenziosa: MSI, NSIS, Inno Setup · Disinstallare programmi dal registro o con PowerShell
Con winget
PowerShell
winget install --id LeenHawk.GPROXY.CLI -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id LeenHawk.GPROXY.CLI -e --silentwinget uninstall --id LeenHawk.GPROXY.CLI -e --silentPer installer
64 bit · MSIX · Utente corrente
Installazione silenziosa
Add-AppxPackage -Path gproxy-windows-x86_64.msixDisinstallazione
Get-AppxPackage -Name LeenHawk.GPROXYCLI | Remove-AppxPackageARM64 · MSIX · Utente corrente
Installazione silenziosa
Add-AppxPackage -Path gproxy-windows-aarch64.msixDisinstallazione
Get-AppxPackage -Name LeenHawk.GPROXYCLI | Remove-AppxPackagePowerShell: scarica, verifica, installa
Scarica il file ufficiale, ne verifica l’hash SHA256 e lo installa in modo silenzioso.
install-gproxy-cli.ps1
$url = 'https://github.com/LeenHawk/gproxy/releases/download/v4.2.6/gproxy-windows-x86_64.msix'
$sha256 = 'E20D56BEBC30A5183B00E0B597C1EBD4969485F9692EC93BB8BB1A1B56C8C20F'
$file = Join-Path $env:TEMP 'gproxy-windows-x86_64.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-gproxy-cli.ps1
$url = 'https://github.com/LeenHawk/gproxy/releases/download/v4.2.6/gproxy-windows-aarch64.msix'
$sha256 = 'D896E02770158893F1F69AEF268461E1C659B5B140BC68CCE5EF791FB6E379A4'
$file = Join-Path $env:TEMP 'gproxy-windows-aarch64.msix'
Invoke-WebRequest -Uri $url -OutFile $file -UseBasicParsing
if ((Get-FileHash $file -Algorithm SHA256).Hash -ne $sha256) { throw 'SHA256 mismatch' }
Add-AppxPackage -Path $file