diff --git a/LunaTranslator/LunaTranslator/gui/settingpage_about.py b/LunaTranslator/LunaTranslator/gui/settingpage_about.py index 4cd14885..3004306f 100644 --- a/LunaTranslator/LunaTranslator/gui/settingpage_about.py +++ b/LunaTranslator/LunaTranslator/gui/settingpage_about.py @@ -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) diff --git a/plugins/CMakeLists.txt b/plugins/CMakeLists.txt index 9efb86ac..9e39341f 100644 --- a/plugins/CMakeLists.txt +++ b/plugins/CMakeLists.txt @@ -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)