Polecenia do instalacji programu React Native Debugger bez pytań, do jego usuwania i do wykrywania w narzędziach wdrożeniowych. Polecenie jest podane tylko wtedy, gdy jest pewne: pochodzi z manifestu albo z udokumentowanych ustawień domyślnych technologii instalatora.
Powiązany poradnik: Parametry cichej instalacji: MSI, NSIS, Inno Setup · Odinstalowanie programu przez rejestr lub PowerShell
Przez winget
PowerShell
winget install --id jhen0409.ReactNativeDebugger -e --silent --accept-package-agreements --accept-source-agreementswinget upgrade --id jhen0409.ReactNativeDebugger -e --silentwinget uninstall --id jhen0409.ReactNativeDebugger -e --silentWedług instalatora
64-bit · EXE · Bieżący użytkownik
Cicha instalacja
react_native_debugger-0.14.0-setup.exe --silent- Klucz odinstalowania w rejestrze
- HKCU\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall\react_native_debugger
PowerShell: pobierz, zweryfikuj, zainstaluj
Pobiera oficjalny plik, sprawdza jego SHA256 i instaluje go po cichu.
install-react-native-debugger.ps1
$url = 'https://github.com/jhen0409/react-native-debugger/releases/download/v0.14.0/react_native_debugger-0.14.0-setup.exe'
$sha256 = '17EC49656E671D6BE7DB34ED279440B00114DDC5D7C3AD54A54159160C6F7513'
$file = Join-Path $env:TEMP 'react_native_debugger-0.14.0-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 '--silent' -Wait