diff --git a/installers/assistantNMS.iss b/installers/assistantNMS.iss index b74d3bf2..303901c0 100644 --- a/installers/assistantNMS.iss +++ b/installers/assistantNMS.iss @@ -2,7 +2,7 @@ ; SEE THE DOCUMENTATION FOR DETAILS ON CREATING INNO SETUP SCRIPT FILES! #define MyAppName "Assistant for No Man's Sky" -#define MyAppVersion "2.20.1" +#define MyAppVersion "2.21.0" #define MyAppPublisher "AssistantApps" #define MyAppURL "https://nmsassistant.com/" #define MyAppExeName "assistantnms_app.exe" diff --git a/lib/assistant_apps_settings.dart b/lib/assistant_apps_settings.dart index 3d064745..9c288060 100644 --- a/lib/assistant_apps_settings.dart +++ b/lib/assistant_apps_settings.dart @@ -1,3 +1,3 @@ const assistantAppsApiUrl = 'https://api.assistantapps.com'; const assistantAppsAppGuid = '589405b4-e40f-4cd9-b793-6bf37944ee09'; -const currentWhatIsNewGuid = '36a4e064-05dc-435b-a11f-fe7efb20e51e'; +const currentWhatIsNewGuid = '4a32332b-3831-4a68-93a2-f65ae33ec048'; diff --git a/lib/constants/nms_external_urls.dart b/lib/constants/nms_external_urls.dart index a5532e99..6047250c 100644 --- a/lib/constants/nms_external_urls.dart +++ b/lib/constants/nms_external_urls.dart @@ -12,6 +12,8 @@ class NmsExternalUrls { 'https://apps.apple.com/us/app/id1480287625'; static const String microsoftStoreListing = 'https://apps.microsoft.com/store/detail/assistant-for-no-mans-sky/9NQLF7XD0LF3'; + static const String githubReleasesListing = + 'https://github.com/AssistantNMS/App/releases'; static const String noMansSkyWebsite = 'https://nomanssky.com'; static const String discord = 'https://assistantapps.com/discord'; static const String twitter = 'https://twitter.com/AssistantNMS'; diff --git a/lib/env/app_version_num.dart b/lib/env/app_version_num.dart index d7894e3b..9028dc83 100644 --- a/lib/env/app_version_num.dart +++ b/lib/env/app_version_num.dart @@ -1,3 +1,3 @@ -const appsBuildNum = 327; -const appsBuildName = '2.20.1'; -const appsCommit = '398c0e2daddf9e096872e14a70f5fae58e26757a'; \ No newline at end of file +const appsBuildNum = 328; +const appsBuildName = '2.21.0'; +const appsCommit = 'bd222b813825069689ee68c53e49f0ef4bde151f'; \ No newline at end of file diff --git a/lib/helpers/update_helper.dart b/lib/helpers/update_helper.dart index 5a2b1616..ad0e07b1 100644 --- a/lib/helpers/update_helper.dart +++ b/lib/helpers/update_helper.dart @@ -2,6 +2,7 @@ import 'package:assistantapps_flutter_common/assistantapps_flutter_common.dart'; import 'package:flutter/material.dart'; import '../constants/nms_external_urls.dart'; +import '../integration/dependency_injection.dart'; Future checkForUpdate(BuildContext context) async { String externalUrl = NmsExternalUrls.googlePlayListing; @@ -12,6 +13,9 @@ Future checkForUpdate(BuildContext context) async { if (isWindows) { externalUrl = NmsExternalUrls.microsoftStoreListing; } + if (getEnv().isGithubRelease) { + externalUrl = NmsExternalUrls.githubReleasesListing; + } return getUpdate().checkForUpdate(context, externalUrl); } diff --git a/pubspec.lock b/pubspec.lock index 234ea9e5..1e37f9f9 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -86,10 +86,10 @@ packages: description: path: "." ref: HEAD - resolved-ref: "39b48f284b2e0f3ec8d8754bd2847446c2c7393e" + resolved-ref: c5258a3199e6e9cdacb7fa96dfb694fe5141e8f0 url: "https://github.com/AssistantApps/Flutter.Common.git" source: git - version: "0.2.54" + version: "0.2.55" async: dependency: transitive description: diff --git a/pubspec.yaml b/pubspec.yaml index 1940b410..ca3ff138 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -2,7 +2,7 @@ name: assistantnms_app description: Assistant for No Man's Sky homepage: https://nmsassistant.com # author: Kurt Lourens -version: 2.20.1+327 # dart scripts\version_num_script.dart +version: 2.21.0+328 # dart scripts\version_num_script.dart publish_to: 'none' environment: @@ -89,7 +89,7 @@ flutter_icons: ## dart run flutter_launcher_icons:main msix_config: # https://pub.dev/documentation/msix/latest/ display_name: Assistant for No Man's Sky publisher_display_name: AssistantApps - msix_version: 2.20.1.0 + msix_version: 2.21.0.0 identity_name: notSureIfSecret publisher: notSureIfSecret logo_path: './assets/images/fullSizeIcon.png' diff --git a/release_notes.txt b/release_notes.txt index 50d62fdb..bc52a5bd 100644 --- a/release_notes.txt +++ b/release_notes.txt @@ -1,9 +1,9 @@ -- 📦 Regen for 4.47 -- 📱 Better design for larger screens -- 🐛 Center align platforms on Release Notes page +- 🎨 Improve the Expedition page +- 🌐 Updated translations +- 🤖 Android dependency upgrades +- 🐛 Better error handling for Community mission page -⠀ -Submitted to App Stores 2023-12-18 +Submitted to App Stores 2024-01-03 For more details on this update please visit the "What is New" page in the Apps or on the website