mirror of
https://github.com/hydralauncher/hydra.git
synced 2026-01-11 13:56:16 +00:00
fix: executable lastIndeOf
This commit is contained in:
@@ -59,7 +59,7 @@ const findGamePathByProcess = (
|
||||
);
|
||||
|
||||
for (const executable of executables) {
|
||||
const exe = executable.name.slice(executable.name.lastIndexOf("/"));
|
||||
const exe = executable.name.slice(executable.name.lastIndexOf("/") + 1);
|
||||
|
||||
if (!exe) continue;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user