Closed x4dr closed 2 years ago
This actually happens fairly often. It's due to XIVLauncher's auto updater spawning a second process or something, I'm still not clear on exactly what. The correct behavior, rather than only using the first entry, would be to warn the user and try again. In all cases, waiting a few seconds on the XIVLauncher login screen before running the scripts is sufficient to avoid the issue.
Fixed by #22. :)
on my machine, i launched the launcher via lutris, so there were multiple entries. the script breaks if there is are two results, so i constrained it to just the first (greo -m 1)
in the case of normal operation, noone should be able to tell the difference in case of two ps entries, either should be fine
ideally there would be a dialogue to select from multiple results, but it is probably an edgecase anyway :)