Skip to content

Commit

Permalink
Merge pull request #9 from domesticmouse/typo-fix
Browse files Browse the repository at this point in the history
Fix up typo
  • Loading branch information
YehudaKremer authored Nov 5, 2020
2 parents b3d72bc + 0d2ad98 commit 91464be
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion lib/msix.dart
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ class Msix {
print(green('Msix installer created in:'));
print('${_configuration.buildFilesFolder}'.replaceAll('/', r'\'));

if (_configuration.isUseingTestCertificate) printTestCertificateHelp();
if (_configuration.isUsingTestCertificate) printTestCertificateHelp();
}

Future<ProcessResult> _pack() async {
Expand Down
6 changes: 3 additions & 3 deletions lib/src/configuration.dart
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ class Configuration {
String startMenuIconPath;
String tileIconPath;
String iconsBackgroundColor = '#ffffff';
bool isUseingTestCertificate = false;
bool isUsingTestCertificate = false;
String defaultsIconsFolderPath() => '$msixAssetsPath/icons';
String vcLibsFolderPath() => '$msixAssetsPath/VCLibs';
String msixToolkitPath() => '$msixAssetsPath/MSIX-Toolkit';
Expand Down Expand Up @@ -100,11 +100,11 @@ class Configuration {
/// If no certificate was chosen then use test certificate
if (isNullOrStringNull(certificatePath)) {
print('');
print(white('No certificate was specified, useing test certificate'));
print(white('No certificate was specified, using test certificate'));
certificatePath = '$msixAssetsPath/test_certificate.pfx';
certificatePassword = '1234';
certificateSubject = defaultCertificateSubject;
isUseingTestCertificate = true;
isUsingTestCertificate = true;
} else if (!await File(certificatePath).exists())
throw (red(
'The file certificate not found in: $certificatePath, check "msix_config: certificate_path" at pubspec.yaml'));
Expand Down

0 comments on commit 91464be

Please sign in to comment.