mirror of
https://github.com/HIllya51/LunaTranslator.git
synced 2024-12-28 08:04:13 +08:00
...
This commit is contained in:
parent
a59e1c09f5
commit
03c8948d1a
@ -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):
|
||||
|
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user