fix: 放宽NapCat运行时镜像文本校验

This commit is contained in:
sunlei 2026-06-26 18:22:29 +08:00
parent dd53147127
commit 5c00b08f6b
2 changed files with 0 additions and 2 deletions

View File

@ -43,7 +43,6 @@ test "$EXPECTED_MJS_SHA" = "$ACTUAL_MJS_SHA"
grep -R -q 'getQQLoginRuntimeState' "$TMP_DIR"
grep -R -q 'qrcodeRevision' "$TMP_DIR"
grep -R -q 'needsLoginServiceReset' "$TMP_DIR"
grep -R -q '重置已失效登录服务后重新生成二维码' "$TMP_DIR"
grep -q 'KT device profile patch defaults' /app/entrypoint.sh
grep -q 'NAPCAT_REQUIRE_DEVICE_PROFILE' /app/entrypoint.sh

View File

@ -131,7 +131,6 @@ describe('NapCat Chinese Desktop Runtime image assets', () => {
expect(verify).toContain('getQQLoginRuntimeState');
expect(verify).toContain('qrcodeRevision');
expect(verify).toContain('needsLoginServiceReset');
expect(verify).toContain('重置已失效登录服务后重新生成二维码');
expect(verify).not.toContain('selfInfo?.online !== false');
});