mirror of
https://github.com/hydralauncher/hydra.git
synced 2025-03-09 15:40:26 +00:00
fix: executable lastIndeOf
This commit is contained in:
parent
d9adc49e9f
commit
fee1a92715
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue