fix(bridge): load dung VSTi theo track (V9) - bo early-return mui theo flag, load qua Tauri invoke khi co path, guard path sai (WaveObserver vs Nexus), chi mo GUI khi load OK; sync 6 ban JS + index.html ?v; kem cac fix bridge truoc (bugs 1-4, GUI restore)

This commit is contained in:
2026-08-18 16:56:05 +07:00
parent cbcc1f658c
commit 351ee56080
11 changed files with 2234 additions and 2019 deletions
+4
View File
@@ -511,6 +511,10 @@ pub fn run() {
break;
}
down_emitted = true;
// FIX auto-play: bao page ngay khi bridge sap restart --
// page stop playback (isPlaying=false) de watchdog recovery
// khong tu resume phat lai (auto-play) sau reconnect.
let _ = pump_handle.emit("bridge-down", ());
if restart_attempts == 0 {
restart_attempts += 1;
let res_dir = pump_handle.path().resource_dir().unwrap_or_default();