From 67556a0db11d4a8ed9a5f13d00783b51232fb1ef Mon Sep 17 00:00:00 2001 From: Rostislav Dugin Date: Fri, 27 Mar 2026 22:33:20 +0300 Subject: [PATCH] FIX (dockerfile): Fix index.html --- Dockerfile | 3 ++- frontend/src/widgets/main/MainScreenComponent.tsx | 12 +++++++----- 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/Dockerfile b/Dockerfile index 19c3628..2725975 100644 --- a/Dockerfile +++ b/Dockerfile @@ -335,7 +335,8 @@ fi if [ -n "\${CLOUD_PADDLE_CLIENT_TOKEN:-}" ]; then if ! grep -q "cdn.paddle.com" /app/ui/build/index.html 2>/dev/null; then echo "Injecting Paddle script..." - sed -i "s## \n #" /app/ui/build/index.html + sed -i "s## \\ + #" /app/ui/build/index.html fi fi diff --git a/frontend/src/widgets/main/MainScreenComponent.tsx b/frontend/src/widgets/main/MainScreenComponent.tsx index 4db6cd9..5e10c56 100644 --- a/frontend/src/widgets/main/MainScreenComponent.tsx +++ b/frontend/src/widgets/main/MainScreenComponent.tsx @@ -373,11 +373,13 @@ export const MainScreenComponent = () => { )} -
- v{APP_VERSION} -
- {CONTAINER_ARCH} -
+ {!IS_CLOUD && ( +
+ v{APP_VERSION} +
+ {CONTAINER_ARCH} +
+ )} )}