fix(plugin): add lowercase linux binary fallbacks

This commit is contained in:
2026-03-16 01:51:02 -07:00
parent 659118c20c
commit 8123a145c0
7 changed files with 193 additions and 8 deletions

View File

@@ -5,7 +5,7 @@
# Auto-detection searches common locations, including:
# - macOS: /Applications/SubMiner.app/Contents/MacOS/SubMiner, ~/Applications/SubMiner.app/Contents/MacOS/SubMiner
# - Windows: %LOCALAPPDATA%\Programs\SubMiner\SubMiner.exe, %ProgramFiles%\SubMiner\SubMiner.exe
# - Linux: ~/.local/bin/SubMiner.AppImage, /opt/SubMiner/SubMiner.AppImage, /usr/local/bin/SubMiner, /usr/bin/SubMiner
# - Linux: ~/.local/bin/SubMiner.AppImage, /opt/SubMiner/SubMiner.AppImage, /usr/local/bin/SubMiner, /usr/local/bin/subminer, /usr/bin/SubMiner, /usr/bin/subminer
binary_path=
# Path to mpv IPC socket (must match input-ipc-server in mpv.conf)

View File

@@ -257,7 +257,9 @@ try {
add_search_path(search_paths, utils.join_path(home, ".local", "bin", "SubMiner.AppImage"))
add_search_path(search_paths, "/opt/SubMiner/SubMiner.AppImage")
add_search_path(search_paths, "/usr/local/bin/SubMiner")
add_search_path(search_paths, "/usr/local/bin/subminer")
add_search_path(search_paths, "/usr/bin/SubMiner")
add_search_path(search_paths, "/usr/bin/subminer")
end
for _, path in ipairs(search_paths) do