mirror of
https://github.com/HIllya51/LunaTranslator.git
synced 2025-01-13 07:33:53 +08:00
.
This commit is contained in:
parent
69af61c7e9
commit
de3c3f6402
@ -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)
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user