mirror of
https://github.com/Sneed-Group/pypush-plus-plus
synced 2024-12-23 11:22:42 -06:00
fixed phone ip variable bug
This commit is contained in:
parent
6a220095a2
commit
bbdcc08ae2
1 changed files with 2 additions and 5 deletions
|
@ -58,10 +58,7 @@ cd "$env:USERPROFILE\pypush"
|
||||||
# Install dependencies from the requirements.txt file using pip.
|
# Install dependencies from the requirements.txt file using pip.
|
||||||
Write-Output "Installing dependencies"
|
Write-Output "Installing dependencies"
|
||||||
pip install -r "requirements.txt"
|
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.
|
# Execute the `python demo.py` script with the phone IP address passed as a parameter.
|
||||||
Write-Output "Registering"
|
Write-Output "Registering"
|
||||||
python demo.py --phone $phoneIpVariable
|
python demo.py --phone $phoneIp
|
||||||
|
|
Loading…
Reference in a new issue