fix: Autopause for docker

This commit is contained in:
Nick Logozzo
2025-08-24 11:22:57 -04:00
parent 650e32dfdf
commit 82f0a0b843
2 changed files with 2 additions and 3 deletions

View File

@@ -419,8 +419,7 @@ DEBUG="true"
# [AUTOMATICALLY PAUSE WINDOWS]
# NOTES:
# - This is currently INCOMPATIBLE with 'docker' and 'manual'.
# - See https://github.com/dockur/windows/issues/674
# - This is currently INCOMPATIBLE with 'manual'.
# DEFAULT VALUE: 'off'
# VALID VALUES:
# - 'on'

View File

@@ -707,7 +707,7 @@ function waCheckIdle() {
local SUSPEND_WINDOWS=0
# Prevent 'autopause' functionality with unsupported Windows backends.
if [ "$WAFLAVOR" != "manual" ] && [ "$WAFLAVOR" != "docker" ]; then
if [ "$WAFLAVOR" != "manual" ]; then
# Check if there are no WinApps-related FreeRDP processes running.
if ! ls "$APPDATA_PATH"/FreeRDP_Process_*.cproc &>/dev/null; then
SUSPEND_WINDOWS=1