feat: remove like event (unreliable via INTERACT_WORD_V2); restore portable build dir
- Drop 'like' event from rules, handler and web UI (Bilibili like messages are not reliably delivered as INTERACT_WORD_V2 msg_type=6) - Keep enter_room / follow / interact_other - event_rules.json rewritten without like key - build.py keeps BUILD_DIR = dist/portable
This commit is contained in:
@@ -106,13 +106,16 @@ def main() -> int:
|
||||
"--hidden-import", "danmaku_handler",
|
||||
"--hidden-import", "tts",
|
||||
"--hidden-import", "bili_login",
|
||||
"--noconfirm",
|
||||
"--distpath", str(BUILD_DIR / "app"),
|
||||
str(ROOT / "server.py"),
|
||||
],
|
||||
)
|
||||
exe = BUILD_DIR / "app" / "bililive-tts" / "bililive-tts.exe"
|
||||
if not exe.exists():
|
||||
print(f"ERROR: PyInstaller failed, {exe} not found")
|
||||
internal = BUILD_DIR / "app" / "bililive-tts" / "_internal"
|
||||
base_lib = internal / "base_library.zip"
|
||||
if not exe.exists() or not base_lib.exists():
|
||||
print(f"ERROR: PyInstaller build incomplete: exe={exe.exists()}, base_library.zip={base_lib.exists()}")
|
||||
return 1
|
||||
print(f" OK: {exe} ({exe.stat().st_size // 1024 // 1024} MB)")
|
||||
|
||||
|
||||
Reference in New Issue
Block a user