From 7a14ea9b742a36f386f91a677181c8fd121aa30f Mon Sep 17 00:00:00 2001 From: Krzysztof kuhy Rudnicki Date: Fri, 15 May 2026 01:19:57 +0200 Subject: [PATCH] fix: PYTHONPATH in screen locker status check; sudo for steam enforcer install --- screen_locker/install_systemd.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/screen_locker/install_systemd.sh b/screen_locker/install_systemd.sh index aa07798..e353eed 100755 --- a/screen_locker/install_systemd.sh +++ b/screen_locker/install_systemd.sh @@ -89,4 +89,4 @@ fi # Immediately check if today's workout is done; block if not echo "" echo "=== Checking today's workout status ===" -python3 "$SCREEN_LOCK_PATH" --production +PYTHONPATH="$(cd "$SCRIPT_DIR/../.." && pwd)" python3 "$SCREEN_LOCK_PATH" --production