mirror of
https://github.com/hydralauncher/hydra.git
synced 2025-02-02 16:23:48 +03:00
fix: closed game pestis in the watch processes
This commit is contained in:
parent
e2d16ba63e
commit
bc98f7c55e
@ -164,11 +164,7 @@ export const watchProcesses = async () => {
|
|||||||
)
|
)
|
||||||
.toLowerCase();
|
.toLowerCase();
|
||||||
|
|
||||||
const processSet = processMap.get(executable);
|
const hasProcess = processMap.get(executable)?.has(executablePath);
|
||||||
|
|
||||||
if (!processSet) continue;
|
|
||||||
|
|
||||||
const hasProcess = processSet.has(executablePath);
|
|
||||||
|
|
||||||
if (hasProcess) {
|
if (hasProcess) {
|
||||||
if (gamesPlaytime.has(game.id)) {
|
if (gamesPlaytime.has(game.id)) {
|
||||||
|
Loading…
Reference in New Issue
Block a user