Skip to content

Commit

Permalink
fix bug 90
Browse files Browse the repository at this point in the history
  • Loading branch information
YehudaKremer committed Feb 7, 2022
1 parent 36e3cf8 commit 66270f4
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,9 @@
# Changelog

## 2.8.16

- fix [#90](https://github.com/YehudaKremer/msix/issues/90)

## 2.8.15

- fix [#74](https://github.com/YehudaKremer/msix/issues/74)
Expand Down
6 changes: 6 additions & 0 deletions lib/src/configuration.dart
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,12 @@ class Configuration {
} else {
identityName = 'com.flutter.${_cleanAppName()}';
}
} else {
if (!RegExp(r'^[a-zA-Z0-9.-]{3,50}$').hasMatch(identityName!)) {
_log.error(
'invalid identity name ("identity_name"): "$identityName". need to be a string between 3 and 50 characters in length that consists of alpha-numeric, period, and dash characters.');
exit(-1);
}
}
if (publisherName.isNull) {
if (store) {
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: 2.8.15
version: 2.8.16
maintainer: Yehuda Kremer (yehudakremer@gmail.com)
homepage: https://github.com/YehudaKremer/msix

Expand Down

0 comments on commit 66270f4

Please sign in to comment.