Install dependencies when rebooting the app
This commit is contained in:
@@ -16,10 +16,10 @@ function Git-Pull {
|
|||||||
|
|
||||||
$waitTime = 15
|
$waitTime = 15
|
||||||
while ($true) {
|
while ($true) {
|
||||||
|
python -m pip install -r requirements.txt
|
||||||
$exitCode = Run-PythonScript -ScriptPath $PythonFile
|
$exitCode = Run-PythonScript -ScriptPath $PythonFile
|
||||||
|
|
||||||
if (Test-Path -Path ".\.doreboot") {
|
if (Test-Path -Path ".\.doreboot") {
|
||||||
|
|
||||||
Write-Host "Special filename detected. Attempting git pull..."
|
Write-Host "Special filename detected. Attempting git pull..."
|
||||||
|
|
||||||
if (Git-Pull) {
|
if (Git-Pull) {
|
||||||
|
|||||||
Reference in New Issue
Block a user