Skip to content

Commit

Permalink
add enable-at-startup configuration and flag
Browse files Browse the repository at this point in the history
  • Loading branch information
YehudaKremer committed Mar 2, 2022
1 parent b5ede74 commit 17d9554
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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` |

</details>
Expand Down
1 change: 0 additions & 1 deletion lib/src/configuration.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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();

Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -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 ([email protected])
homepage: https://github.com/YehudaKremer/msix

Expand Down

0 comments on commit 17d9554

Please sign in to comment.