mirror of
https://github.com/ksyasuda/SubMiner.git
synced 2026-03-01 06:22:44 -08:00
Fix launcher overlay startup gating and socket alignment
- only start overlay from launcher when --start is passed or plugin auto_start is enabled - read socket_path from mpv script-opts/subminer.conf and use it for mpv/overlay/subtitle IPC - only stop overlay on launcher cleanup when launcher actually started it - preserve --start semantics for second-instance command+action flows so MPV reconnect happens before toggles
This commit is contained in:
@@ -255,7 +255,7 @@ test("handleCliCommandService still runs non-start actions on second-instance",
|
||||
deps,
|
||||
);
|
||||
assert.ok(calls.includes("toggleVisibleOverlay"));
|
||||
assert.equal(calls.some((value) => value === "connectMpvClient"), false);
|
||||
assert.equal(calls.some((value) => value === "connectMpvClient"), true);
|
||||
});
|
||||
|
||||
test("handleCliCommandService handles visibility and utility command dispatches", () => {
|
||||
|
||||
Reference in New Issue
Block a user