From c70f627d1ebf2b346246a842274abdb778ba7d98 Mon Sep 17 00:00:00 2001 From: Akash Mozumdar Date: Fri, 26 Oct 2018 23:14:42 -0400 Subject: [PATCH] Fix few things for release --- CMakeLists.txt | 8 ++++++-- gui/language.cpp | 7 +++---- gui/version.h.in | 2 +- 3 files changed, 10 insertions(+), 7 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 9ee6432..dcaf924 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -18,11 +18,15 @@ set(CMAKE_RUNTIME_OUTPUT_DIRECTORY ${CMAKE_FINAL_OUTPUT_DIRECTORY}) set(CMAKE_WARN_ON_ABSOLUTE_INSTALL_DESTINATION ON) +execute_process(COMMAND "cmd" " /C date /T" OUTPUT_VARIABLE FULLDATE) +# set(DATE "07/13/2018") +string(SUBSTRING ${FULLDATE} 0 10 BUILD_DATE) +set(BUILD_DATE ${BUILD_DATE}) set(CPACK_GENERATOR "ZIP") set(CPACK_PACKAGE_VERSION_MAJOR 3) -set(CPACK_PACKAGE_VERSION_MINOR 5640) -set(CPACK_PACKAGE_VERSION_PATCH 1) +set(CPACK_PACKAGE_VERSION_MINOR 5642) +set(CPACK_PACKAGE_VERSION_PATCH 0) set(CPACK_SOURCE_GENERATOR "ZIP") set(CPACK_SOURCE_IGNORE_FILES "/CVS/;/\\\\.svn/;/\\\\.bzr/;/\\\\.hg/;/\\\\.git/;\\\\.swp$;\\\\.#;/#" ".*\\\\.user$" "\\\\.gitignore$" "\\\\.gitmodules$" "\\\\.git$") include(CPack) diff --git a/gui/language.cpp b/gui/language.cpp index 6149eb9..411d9f4 100644 --- a/gui/language.cpp +++ b/gui/language.cpp @@ -82,10 +82,9 @@ const wchar_t* ErrorNoAttach=L"No process attached."; //profile.cpp const wchar_t* ErrorMonitor=L"Can't monitor process."; //utility.cpp -const wchar_t* InitMessage=L"Copyright (C) 2010-2012 kaosu \r\n\ -Copyright (C) 2015 zorkzero \r\n\ -Source code \r\n\ -General discussion "; +const wchar_t* InitMessage=L"Current developer: Artikash (akashmozumdar@gmail.com)\r\n\ +Former developers: kaosu, jichi, Andys, Stomp, mireado\r\n\ +Source code: https://github.com/Artikash/Textractor/tree/ithvnr-verbose"; const wchar_t* BackgroundMsg=L"Type \":h\" or \":help\" for help."; const wchar_t* ErrorLinkExist=L"Link exist."; const wchar_t* ErrorCylicLink=L"Link failed. No cyclic link allowed."; diff --git a/gui/version.h.in b/gui/version.h.in index 051edda..fe68a00 100644 --- a/gui/version.h.in +++ b/gui/version.h.in @@ -1,2 +1,2 @@ -const wchar_t* build_date=L"27.01.2013"; +const wchar_t* build_date=L"@BUILD_DATE@"; const WCHAR program_version[] = L"@CPACK_PACKAGE_VERSION_MAJOR@.@CPACK_PACKAGE_VERSION_MINOR@.@CPACK_PACKAGE_VERSION_PATCH@";