From b0832f122d1a55b345267809871be1881ec9e347 Mon Sep 17 00:00:00 2001 From: Ein Anderssono Date: Mon, 19 Oct 2026 13:09:37 +0200 Subject: [PATCH] Update frontend checks for local AI feature flag --- scripts/check-frontend.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/check-frontend.sh b/scripts/check-frontend.sh index 6cc3c43..bc3f509 100755 --- a/scripts/check-frontend.sh +++ b/scripts/check-frontend.sh @@ -50,7 +50,8 @@ grep -q 'WebKit versions before Safari 27' voice.js grep -q "voiceIdentity: speakingNpc.voice_identity" index.html grep -q "role: 'narrator', voiceIdentity: 'neutral'" index.html grep -q 'COPY voice.js /usr/share/nginx/html/voice.js' Dockerfile -grep -Fq 'localGameAI?.start(currentAccount.id)' index.html +grep -Fq 'if (!currentAccount.is_admin && FEATURE_FLAGS.localAI)' index.html +grep -Fq 'localAI?.start(currentAccount.id)' index.html grep -q "type === 'terms-required'" index.html grep -q 'Gemma-villkor' index.html grep -q 'lokal ai godkänn villkor' index.html