mirror of
https://github.com/HIllya51/LunaTranslator.git
synced 2024-12-29 16:44:13 +08:00
...
This commit is contained in:
parent
a59e1c09f5
commit
03c8948d1a
@ -93,9 +93,8 @@ class playtimemanager:
|
|||||||
gamehwnd = gobject.baseobject.hwnd
|
gamehwnd = gobject.baseobject.hwnd
|
||||||
if gamehwnd:
|
if gamehwnd:
|
||||||
gamepid = windows.GetWindowThreadProcessId(gamehwnd)
|
gamepid = windows.GetWindowThreadProcessId(gamehwnd)
|
||||||
if gamepid:
|
if gamepid and pid == os.getpid():
|
||||||
if pid == gamepid or pid == os.getpid():
|
exes.add(getpidexe(gamepid))
|
||||||
exes.add(exe)
|
|
||||||
return exes
|
return exes
|
||||||
|
|
||||||
def finduids(self, exes):
|
def finduids(self, exes):
|
||||||
|
@ -29,7 +29,7 @@ include(generate_product_version)
|
|||||||
|
|
||||||
set(VERSION_MAJOR 5)
|
set(VERSION_MAJOR 5)
|
||||||
set(VERSION_MINOR 38)
|
set(VERSION_MINOR 38)
|
||||||
set(VERSION_PATCH 7)
|
set(VERSION_PATCH 8)
|
||||||
|
|
||||||
add_library(pch pch.cpp)
|
add_library(pch pch.cpp)
|
||||||
target_precompile_headers(pch PUBLIC pch.h)
|
target_precompile_headers(pch PUBLIC pch.h)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user