From bbdcc08ae2cbe6e32479ed44f6456356400fc031 Mon Sep 17 00:00:00 2001 From: Steven Burnham Date: Thu, 7 Dec 2023 21:01:34 -0500 Subject: [PATCH] fixed phone ip variable bug --- windows_installer.ps1 | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/windows_installer.ps1 b/windows_installer.ps1 index c38b71e..71ee0e2 100644 --- a/windows_installer.ps1 +++ b/windows_installer.ps1 @@ -58,10 +58,7 @@ cd "$env:USERPROFILE\pypush" # Install dependencies from the requirements.txt file using pip. Write-Output "Installing dependencies" pip install -r "requirements.txt" - -# Store the IP address in a variable. -$phoneIpVariable = Set-Variable -Name phoneIp -Value $phoneIp -Scope Global - + # Execute the `python demo.py` script with the phone IP address passed as a parameter. Write-Output "Registering" -python demo.py --phone $phoneIpVariable +python demo.py --phone $phoneIp