mirror of
https://github.com/ksyasuda/SubMiner.git
synced 2026-05-26 00:55:16 -07:00
fix(jellyfin): fix overlay toggle sync, redirect reload, and AppImage bi
- Sync visible-overlay state back to plugin via script messages to avoid toggle/hide drift - Collapse duplicate toggle events within 250ms to prevent hide-then-show on single keypress - Preserve manual hide across Jellyfin path-changing redirects even when media-title drops - Rearm managed subtitle defaults on path-changing redirects - Route toggleVisibleOverlay session binding through plugin toggle instead of app-side IPC - Show Linux/Hyprland overlay passively (showInactive) to avoid stealing mpv keyboard focus - Fix AppImage binary resolution to prefer $APPIMAGE env over mounted inner binary - Add stats window layer management so delete/update dialogs appear above stats window - Fix Jellyfin remote progress sync during Linux websocket reconnect windows
This commit is contained in:
@@ -68,6 +68,31 @@ local function create_binary_module(config)
|
||||
return binary
|
||||
end
|
||||
|
||||
do
|
||||
local appimage_path = "/home/tester/.local/bin/SubMiner.AppImage"
|
||||
local mounted_binary_path = "/tmp/.mount_SubMiner/SubMiner"
|
||||
local resolved = with_env({
|
||||
APPIMAGE = appimage_path,
|
||||
}, function()
|
||||
local binary = create_binary_module({
|
||||
is_windows = false,
|
||||
binary_path = mounted_binary_path,
|
||||
entries = {
|
||||
[appimage_path] = "file",
|
||||
[mounted_binary_path] = "file",
|
||||
},
|
||||
})
|
||||
|
||||
return binary.find_binary()
|
||||
end)
|
||||
|
||||
assert_equal(
|
||||
resolved,
|
||||
appimage_path,
|
||||
"linux resolver should prefer APPIMAGE over the mounted AppImage inner binary"
|
||||
)
|
||||
end
|
||||
|
||||
do
|
||||
local binary = create_binary_module({
|
||||
is_windows = true,
|
||||
|
||||
Reference in New Issue
Block a user