diff --git a/doc/installing-from-release-windows.md b/doc/installing-from-release-windows.md index a3a7600..e31d346 100644 --- a/doc/installing-from-release-windows.md +++ b/doc/installing-from-release-windows.md @@ -15,6 +15,7 @@ Windows support in Rayhunter's installer is a work-in-progress. Depending on the 2. Download the latest `rayhunter-vX.X.X.zip` from the [Rayhunter releases page](https://github.com/EFForg/rayhunter/releases). The version you download will have numbers instead of X 3. Unzip `rayhunter-vX.X.X` . 4. Save the [`install.ps1` file here](https://github.com/EFForg/rayhunter/blob/powershell/installer/install.ps1) in top of the folder that was unzipped from release.zip. +5. Run the following powershell command `Set-ExecutionPolicy remotesigned` 5. Run the install script by double clicking on `install.ps1`. A powershell window will launch. The device will restart multiple times over the next few minutes. You will know it is done when you see terminal output that says `checking for rayhunter server...success!` diff --git a/doc/zadig.png b/doc/zadig.png new file mode 100644 index 0000000..9213215 Binary files /dev/null and b/doc/zadig.png differ diff --git a/installer/install.ps1 b/installer/install.ps1 index cd9df5f..7e54367 100644 --- a/installer/install.ps1 +++ b/installer/install.ps1 @@ -36,7 +36,7 @@ function _wait_for_atfwd_daemon { function force_debug_mode { write-host "Using adb at $($global:adb)" write-host "Forcing a switch into debug mode to enable ADB" - _serial "util" "serial" "--root" | Out-Host + _serial "util serial --root" | Out-Host write-host "adb enabled, waiting for reboot..." -nonewline _wait_for_adb_shell write-host " it's alive!"