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