From 72790b4ef6b8c20704d345fa403b0aea19dcd33e Mon Sep 17 00:00:00 2001 From: Jimmy Misaka Date: Tue, 24 Jan 2023 15:31:06 +0800 Subject: [PATCH] DEV UPDATE:Test update --- lib/routes/mainPage.dart | 3 +++ pubspec.yaml | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/lib/routes/mainPage.dart b/lib/routes/mainPage.dart index e02e44b..d150d92 100644 --- a/lib/routes/mainPage.dart +++ b/lib/routes/mainPage.dart @@ -29,6 +29,9 @@ class _MainPageState extends State { var r = await Api().version(); if (r.version != '') { + print(r.version); + print(Global.packageInfo.version); + print(haveNewVersion(r.version, Global.packageInfo.version)); if (haveNewVersion(r.version, Global.packageInfo.version)) { return AppUpgradeInfo( title: '新版本 V' + r.version, diff --git a/pubspec.yaml b/pubspec.yaml index 063f19e..d9d6bb9 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -17,7 +17,7 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev # https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html # In Windows, build-name is used as the major, minor, and patch parts # of the product and file versions while build-number is used as the build suffix. -version: 1.2.0+1 +version: 1.3.0+1 environment: sdk: '>=2.18.6 <3.0.0'