From 17d955434cf4f9fee431c9d1ea2761a3d6bbf5e3 Mon Sep 17 00:00:00 2001 From: Yehuda Kremer Date: Wed, 2 Mar 2022 09:06:12 +0200 Subject: [PATCH] add `enable-at-startup` configuration and flag --- CHANGELOG.md | 4 ++++ README.md | 1 + lib/src/configuration.dart | 1 - pubspec.yaml | 2 +- 4 files changed, 6 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index bbeb78f..2232e84 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Changelog +## 3.3.0 + +- Add `enable-at-startup` configuration and flag, see [Configure your app to start at log-in](https://blogs.windows.com/windowsdeveloper/2017/08/01/configure-app-start-log/). + ## 3.2.0 - Automatically use the Pubspec `version` tag by default. To use auto-versioning, remove any `msix_version` fields or command line options. diff --git a/README.md b/README.md index 72925ae..ac4fd4b 100644 --- a/README.md +++ b/README.md @@ -72,6 +72,7 @@ See [Configurations Examples And Use Cases]. | `file_extension` | `--file-extension` `-f` | File extensions that the app may be registered to open. | `.picture, .image` | | `protocol_activation` | `--protocol-activation` | [Protocol activation] that will open the app. | `flutterapp` | | `add_execution_alias` | `--add-execution-alias` | Add an alias to active the app, use the `pubspec.yaml` `name:` value, so if your app calls 'Flutter_App', user can activate the app using `flutterapp` command. | `true` | +| `enable_at_startup` | `--enable-at-startup` | App start at startup or user log-in. | `true` | | `store` | `--store` | Generate a MSIX file for publishing to the Microsoft Store. | `false` | diff --git a/lib/src/configuration.dart b/lib/src/configuration.dart index 7da176b..cf930d0 100644 --- a/lib/src/configuration.dart +++ b/lib/src/configuration.dart @@ -126,7 +126,6 @@ class Configuration { enableAtStartup = _args.wasParsed('enable-at-startup') || yaml['enable_at_startup']?.toString().toLowerCase() == 'true'; - print('enableAtStartup: $enableAtStartup'); // toast activator configurations var toastActivatorYaml = yaml['toast_activator'] ?? YamlMap(); diff --git a/pubspec.yaml b/pubspec.yaml index 02c4f69..676a150 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,6 +1,6 @@ name: msix description: A command-line tool that create Msix installer from your flutter windows-build files. -version: 3.2.0 +version: 3.3.0 maintainer: Yehuda Kremer (yehudakremer@gmail.com) homepage: https://github.com/YehudaKremer/msix