This commit is contained in:
恍兮惚兮 2024-09-21 22:56:56 +08:00
parent a59e1c09f5
commit 03c8948d1a
2 changed files with 3 additions and 4 deletions

View File

@ -93,9 +93,8 @@ class playtimemanager:
gamehwnd = gobject.baseobject.hwnd
if gamehwnd:
gamepid = windows.GetWindowThreadProcessId(gamehwnd)
if gamepid:
if pid == gamepid or pid == os.getpid():
exes.add(exe)
if gamepid and pid == os.getpid():
exes.add(getpidexe(gamepid))
return exes
def finduids(self, exes):

View File

@ -29,7 +29,7 @@ include(generate_product_version)
set(VERSION_MAJOR 5)
set(VERSION_MINOR 38)
set(VERSION_PATCH 7)
set(VERSION_PATCH 8)
add_library(pch pch.cpp)
target_precompile_headers(pch PUBLIC pch.h)