This commit is contained in:
恍兮惚兮 2025-01-04 23:52:57 +08:00
parent 69af61c7e9
commit de3c3f6402
3 changed files with 6 additions and 3 deletions

View File

@ -1,7 +1,7 @@
set(VERSION_MAJOR 6)
set(VERSION_MINOR 17)
set(VERSION_PATCH 0)
set(VERSION_PATCH 1)
set(VERSION_REVISION 0)
set(LUNA_VERSION "{${VERSION_MAJOR},${VERSION_MINOR},${VERSION_PATCH},${VERSION_REVISION}}")
add_library(VERSION_DEF ${CMAKE_CURRENT_LIST_DIR}/version_def.cpp)

View File

@ -185,6 +185,8 @@ def versioncheckthread(self):
else:
sversion = _version[0]
self.versiontextsignal.emit(sversion)
if getcurrexe().endswith("python.exe"):
continue
version = winsharedutils.queryversion(getcurrexe())
need = (
version

View File

@ -429,9 +429,10 @@ class texthook(basetext):
def injectproc(self, injecttimeout, pids):
if injecttimeout:
time.sleep(injecttimeout)
if set(pids) != set(ListProcess(self.gamepath)):
_list = ListProcess(self.gamepath)
if set(pids) != set(_list):
# 部分cef/v8引擎的游戏会在一段启动时间后启动子进程用于渲染
return self.injectproc(injecttimeout, pids)
return self.injectproc(injecttimeout, _list)
if self.ending:
return