This commit is contained in:
恍兮惚兮 2024-05-20 21:26:52 +08:00
parent daec1fc013
commit b8e7a4066a
2 changed files with 3 additions and 3 deletions

View File

@ -36,7 +36,7 @@ def getversion(self):
)
)
)
if _version is not None and versionstring < _version:
if _version is not None and version < tuple(int(_) for _ in _version[1:].split(".")):
if globalconfig["autoupdate"]:
updatemethod(_version, self.progresssignal.emit)

View File

@ -28,8 +28,8 @@ set(CMAKE_MODULE_PATH ${CMAKE_MODULE_PATH} ${CMAKE_SOURCE_DIR}/version)
include(generate_product_version)
set(VERSION_MAJOR 2)
set(VERSION_MINOR 51)
set(VERSION_PATCH 10)
set(VERSION_MINOR 52)
set(VERSION_PATCH 0)
add_library(pch pch.cpp)
target_precompile_headers(pch PUBLIC pch.h)