fix(plugin): allow cold-start overlay launch without running process

This commit is contained in:
2026-02-22 21:08:25 -08:00
parent f33b5e1e98
commit a07d5ecdb3
13 changed files with 795 additions and 132 deletions

View File

@@ -1526,7 +1526,8 @@ end
local function start_overlay(overrides)
local socket_ready, reason = is_subminer_ipc_ready()
if not socket_ready then
local process_not_running = reason == "SubMiner process not running"
if not socket_ready and not process_not_running then
subminer_log("warn", "process", "Refusing to start overlay: " .. tostring(reason))
show_osd("SubMiner IPC not set up. Launch mpv with --input-ipc-server=/tmp/subminer-socket")
return