From bc691ec67ecf8c9d276bbbee91f89e7191e656c4 Mon Sep 17 00:00:00 2001 From: Tobias Messner Date: Fri, 29 Nov 2024 18:25:35 +0100 Subject: [PATCH] fix: Fix the previous OPEN_TIMEOUT fix not being properly applied Closes #350 --- remote/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/remote/Dockerfile b/remote/Dockerfile index 78177cb2..1c2c2b50 100644 --- a/remote/Dockerfile +++ b/remote/Dockerfile @@ -48,7 +48,7 @@ RUN wget -qO /usr/share/keyrings/xpra.asc ${XPRA_REGISTRY}/xpra.asc && \ # Inject script to force focus on modal windows in xpra client # and remove the compressed index.html files because they don't contain our fix COPY client-inject.js /tmp/client-inject.js -RUN sed -i '/load_default_settings();/r /tmp/client-inject.js' /usr/share/xpra/www/index.html \ +RUN sed -i -e '/load_default_settings();/i\\' -e '/load_default_settings();/e cat /tmp/client-inject.js' /usr/share/xpra/www/index.html \ && rm /usr/share/xpra/www/index.html.gz \ && rm /usr/share/xpra/www/index.html.br