From 41a32d5c91140157193601f40e492f90fe44c812 Mon Sep 17 00:00:00 2001 From: Jonathan Lucas Date: Tue, 20 Aug 2024 17:10:30 -0500 Subject: [PATCH] Install dependencies when rebooting the app --- run_python_with_restart.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/run_python_with_restart.ps1 b/run_python_with_restart.ps1 index 253542b..838d5f3 100644 --- a/run_python_with_restart.ps1 +++ b/run_python_with_restart.ps1 @@ -16,10 +16,10 @@ function Git-Pull { $waitTime = 15 while ($true) { + python -m pip install -r requirements.txt $exitCode = Run-PythonScript -ScriptPath $PythonFile if (Test-Path -Path ".\.doreboot") { - Write-Host "Special filename detected. Attempting git pull..." if (Git-Pull) {