Merge pull request #661 from nlogozzo/main

fix: `Autopause` for `docker`
This commit is contained in:
Oskar Manhart
2025-08-24 17:26:46 +02:00
committed by GitHub
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