fix: 放宽NapCat运行时镜像文本校验
This commit is contained in:
parent
dd53147127
commit
5c00b08f6b
@ -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
|
||||
|
||||
@ -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');
|
||||
});
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user