Skip to content

Commit

Permalink
DEV UPDATE:Test update
Browse files Browse the repository at this point in the history
  • Loading branch information
misakajimmy committed Jan 24, 2023
1 parent 1aa976a commit 72790b4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions lib/routes/mainPage.dart
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@ class _MainPageState extends State<MainPage> {
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,
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit 72790b4

Please sign in to comment.