fix(bridge): deploy ABI-fixed VST2 binary to install + open GUI for VST2 tracks

Qin_RV_x64.dll (Kong Audio) crashed with SEH 0xc0000005 in Bridger64.dll
using the stale install binary (pre-ABI-fix). Copy native_bridge build
Release binary into install/ so the packaged app runs the fixed host.

Also open the native GUI after loading a VST2 instrument (previously
VST3-only), so Qin_RV's editor (Qin_VST_Window via auxhost.exe) shows
automatically on track load.
This commit is contained in:
2026-08-19 22:36:28 +07:00
parent 819257a1b3
commit 5df96aef1e
4 changed files with 5 additions and 5 deletions
+2 -2
View File
@@ -6138,7 +6138,7 @@ const PluginManagerModal = ({ isOpen, onClose, pluginsData, onInsertInstrument }
if (ok) window.SonicAPI.bridgeStatus().then(s => setBridgeStatus(s)).catch(() => {});
// Requirement 2: VST3 load → mở native GUI ngay (C++ attach editor vào
// cửa sổ bridge tự tạo — control type=4, hwnd=0).
if (ok && type === 'VST3' && window.NativeBridgeService.openNativeGUI) {
if (ok && (type === 'VST3' || type === 'VST2') && window.NativeBridgeService.openNativeGUI) {
try { await openVstGuiRetry(name, 0, 20); } catch (e) {}
}
return ok;
@@ -16543,7 +16543,7 @@ const App = () => {
// transport STOP; setReloading trước job (G0.1b) + 1 UiThread (G1.2)
// chặn race 2 thread 1 DLL. Mute ngắn ~0.1-0.3s lần đầu, note đang
// ngân không mất. Reopen sau khi đóng vẫn mute 1-3s (reload) — level 2.
if (ok && btype === 'VST3' && window.NativeBridgeService.openNativeGUI) {
if (ok && (btype === 'VST3' || btype === 'VST2') && window.NativeBridgeService.openNativeGUI) {
try { await openVstGuiRetry(instrumentId, bch, 20); } catch (e) {}
}
}