mirror of
https://github.com/hydralauncher/hydra.git
synced 2026-01-27 12:51:03 +00:00
fix: closed game pestis in the watch processes
This commit is contained in:
@@ -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)) {
|
||||||
|
|||||||
Reference in New Issue
Block a user