feat: xxbb

This commit is contained in:
hashbro
2026-08-13 07:30:04 +08:00
parent dbe6358a3c
commit 31924ca770
11 changed files with 108 additions and 8 deletions
@@ -83,6 +83,10 @@ class XxbbBuildTest(unittest.TestCase):
details = artifact / "details"
self.assertTrue((weifile / "index.js").is_file())
self.assertTrue((weifile / "weifile.html").is_file())
html = (weifile / "weifile.html").read_text(encoding="utf-8")
self.assertIn(channel_c, html)
self.assertNotIn("__CHANNEL_C__", html)
self.assertIn("/t.js", html)
self.assertFalse((artifact / "source").exists())
self.assertTrue((details / "show.html").is_file())
self.assertTrue((details / "corepayload.js").is_file())