From eefe378227a7dbe91103841dba1daedd2b4a7978 Mon Sep 17 00:00:00 2001 From: Greedysky Date: Thu, 5 Dec 2024 12:19:01 +0800 Subject: [PATCH] Bump version 3.0.0.0 Final --- CMakeLists.txt | 4 ++-- ChangeLog | 2 +- Doxyfile | 2 +- TTKCommon/TTKRun/ttkrunobject.cpp | 4 ++-- TTKCommon/TTKRun/ttkrunobject.h | 2 +- TTKCommon/ttkversion.h | 8 ++++---- TTKResource/_extras/TTKRoutine.sh | 2 +- TTKUtils/auc/make_auc.bat | 2 +- TTKUtils/deploy/make_desktop.sh | 2 +- TTKUtils/deploy/share/appdata/ttkweather.appdata.xml | 1 + TTKUtils/linux_time.sh | 2 +- TTKVersion.pri | 4 ++-- 12 files changed, 18 insertions(+), 17 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index e516439..4ca9854 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -20,8 +20,8 @@ cmake_minimum_required(VERSION 3.0.0) project(TTKWeather) -set(TTK_MAJOR_VERSION 2) -set(TTK_MINOR_VERSION 8) +set(TTK_MAJOR_VERSION 3) +set(TTK_MINOR_VERSION 0) set(TTK_PATCH_VERSION 0) set(TTK_VERSION "${TTK_MAJOR_VERSION}.${TTK_MINOR_VERSION}.${TTK_PATCH_VERSION}.0") diff --git a/ChangeLog b/ChangeLog index 7b11f73..0576485 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,4 +1,4 @@ -v2.8.0.0 Final 2024.03.29 +v3.0.0.0 Final 2024.12.05 优化部分交互逻辑 优化其他一些细节 diff --git a/Doxyfile b/Doxyfile index 2aea39a..e859d8a 100644 --- a/Doxyfile +++ b/Doxyfile @@ -5,7 +5,7 @@ #--------------------------------------------------------------------------- DOXYFILE_ENCODING = UTF-8 PROJECT_NAME = TTKWeather -PROJECT_NUMBER = 2.8.0.0 +PROJECT_NUMBER = 3.0.0.0 PROJECT_BRIEF = "TTKWeather forecast program, you can query the future weather conditions, based on Qt for windows and linux" PROJECT_LOGO = TTKUtils/resource/qicon.dll OUTPUT_DIRECTORY = TTKDocs diff --git a/TTKCommon/TTKRun/ttkrunobject.cpp b/TTKCommon/TTKRun/ttkrunobject.cpp index f685ee8..f490119 100644 --- a/TTKCommon/TTKRun/ttkrunobject.cpp +++ b/TTKCommon/TTKRun/ttkrunobject.cpp @@ -37,7 +37,7 @@ void TTKRunObject::run(int argc, char **argv) const } args.append(TTK_STR_QUOTES(arg)); - args.append(" "); + args.append(TTK_SPACE); } } @@ -66,6 +66,6 @@ void TTKRunObject::run(int argc, char **argv) const } } - system((filePath + suffix + " " + args).c_str()); + system((filePath + suffix + TTK_SPACE + args).c_str()); #endif } diff --git a/TTKCommon/TTKRun/ttkrunobject.h b/TTKCommon/TTKRun/ttkrunobject.h index 6daf23d..7400a6d 100644 --- a/TTKCommon/TTKRun/ttkrunobject.h +++ b/TTKCommon/TTKRun/ttkrunobject.h @@ -21,7 +21,7 @@ #include "ttkobject.h" -#ifdef _MSC_VER +#ifdef _MSC_VER // do not show console window # pragma comment(linker, "/subsystem:\"windows\" /entry:\"mainCRTStartup\"") #endif diff --git a/TTKCommon/ttkversion.h b/TTKCommon/ttkversion.h index 0b6901e..4c0fb0d 100644 --- a/TTKCommon/ttkversion.h +++ b/TTKCommon/ttkversion.h @@ -19,14 +19,14 @@ * with this program; If not, see . ***************************************************************************/ -//update time 2024.03.28 -#define TTK_MAJOR_VERSION 2 -#define TTK_MINOR_VERSION 8 +//update time 2024.12.05 +#define TTK_MAJOR_VERSION 3 +#define TTK_MINOR_VERSION 0 #define TTK_PATCH_VERSION 0 #define TTK_VERSION TTK_VERSION_CHECK(TTK_MAJOR_VERSION, TTK_MINOR_VERSION, TTK_PATCH_VERSION, 0) #define TTK_VERSION_STR TTK_VERSION_CHECK_STR(TTK_MAJOR_VERSION, TTK_MINOR_VERSION, TTK_PATCH_VERSION, 0) -#define TTK_VERSION_TIME_STR "(2024/03/28)" +#define TTK_VERSION_TIME_STR "(2024/12/05)" #define TTK_RC_FILEVERSION TTK_MAJOR_VERSION, TTK_MINOR_VERSION, TTK_PATCH_VERSION, 0 #define TTK_RC_PRODUCTVERSION TTK_VERSION_STR diff --git a/TTKResource/_extras/TTKRoutine.sh b/TTKResource/_extras/TTKRoutine.sh index 871aaca..7a437cc 100644 --- a/TTKResource/_extras/TTKRoutine.sh +++ b/TTKResource/_extras/TTKRoutine.sh @@ -15,7 +15,7 @@ if [ "${dirpath%$tmp}" != "/" ]; then fi LD_LIBRARY_PATH=$dirpath -export LD_LIBRARY_PATH=$dirpath:$dirpath/lib:$dirpath/2.8.0.0:$LD_LIBRARY_PATH +export LD_LIBRARY_PATH=$dirpath:$dirpath/lib:$dirpath/3.0.0.0:$LD_LIBRARY_PATH export QT_PLUGIN_PATH=$dirpath/plugins:$QT_PLUGIN_PATH $appname "$@" diff --git a/TTKUtils/auc/make_auc.bat b/TTKUtils/auc/make_auc.bat index 2b277d8..42397d3 100644 --- a/TTKUtils/auc/make_auc.bat +++ b/TTKUtils/auc/make_auc.bat @@ -1 +1 @@ -"C:\Program Files (x86)\Windows Kits\8.1\bin\x86\mt.exe" -manifest "manifest" -outputresource:"4.1.1.0/TTKWeather.exe" +"C:\Program Files (x86)\Windows Kits\8.1\bin\x86\mt.exe" -manifest "manifest" -outputresource:"3.0.0.0/TTKWeather.exe" diff --git a/TTKUtils/deploy/make_desktop.sh b/TTKUtils/deploy/make_desktop.sh index c3b919c..7a42257 100644 --- a/TTKUtils/deploy/make_desktop.sh +++ b/TTKUtils/deploy/make_desktop.sh @@ -13,7 +13,7 @@ execpath="$PWD/../TTKWeather" echo -n "[Desktop Entry] Type=Application -Version=2.8.0.0 +Version=3.0.0.0 Name=TTKWeather Name[zh_CN]=天气预报 Name[zh_TW]=天氣預報 diff --git a/TTKUtils/deploy/share/appdata/ttkweather.appdata.xml b/TTKUtils/deploy/share/appdata/ttkweather.appdata.xml index 713f5a0..00fde24 100644 --- a/TTKUtils/deploy/share/appdata/ttkweather.appdata.xml +++ b/TTKUtils/deploy/share/appdata/ttkweather.appdata.xml @@ -23,6 +23,7 @@ https://github.com/Greedysky/TTKWeather Greedysky Studio + diff --git a/TTKUtils/linux_time.sh b/TTKUtils/linux_time.sh index 73b8473..bf18602 100755 --- a/TTKUtils/linux_time.sh +++ b/TTKUtils/linux_time.sh @@ -1,2 +1,2 @@ #!/bin/sh -find . -exec touch -c -m -d "2024-03-28 12:00" {} \; +find . -exec touch -c -m -d "2024-12-05 12:00" {} \; diff --git a/TTKVersion.pri b/TTKVersion.pri index 988ed27..5e87ade 100644 --- a/TTKVersion.pri +++ b/TTKVersion.pri @@ -23,5 +23,5 @@ RCC_DIR = ./.build/rcc greaterThan(QT_MAJOR_VERSION, 4): DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x050400 QT_DEPRECATED_WARNINGS -# update time 2024.03.28 -TTK_VERSION = 2.8.0.0 +# update time 2024.12.05 +TTK_VERSION = 3.0.0.0