From 81eb1cdacb18a14f91fc825c415c38f2f003e487 Mon Sep 17 00:00:00 2001 From: Maicss-chen Date: Sat, 2 Jul 2022 09:51:51 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E7=89=88=E6=9C=AC=E6=98=BE?= =?UTF-8?q?=E7=A4=BA=20=E5=B0=86=E5=BD=93=E5=89=8D=E7=89=88=E6=9C=AC?= =?UTF-8?q?=E8=AE=BE=E5=AE=9A=E4=B8=BA1.0.0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CMakeLists.txt | 2 +- src/main.cpp | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 8f4aa7d..dfb39c6 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -2,5 +2,5 @@ cmake_minimum_required(VERSION 3.5.0) project(gamux-installer) set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fsized-deallocation") - +add_definitions(-DVERSION="1.0.0") add_subdirectory(src) \ No newline at end of file diff --git a/src/main.cpp b/src/main.cpp index 38fd962..066c981 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -9,6 +9,9 @@ using namespace std; int main(int argc, char *argv[]) { new QApplication(argc,argv); + + cout<<"Installer version: "<