Skip to content

Commit

Permalink
fix #250
Browse files Browse the repository at this point in the history
  • Loading branch information
YehudaKremer committed Nov 30, 2023
1 parent 830c86b commit 2faab7e
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 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.16.7

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

## 3.16.6

- update MaxVersionTested
Expand Down
6 changes: 4 additions & 2 deletions lib/src/configuration.dart
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ class Configuration {
if (msixVersion.isNull) msixVersion = '1.0.0.0';
if (architecture.isNull) architecture = 'x64';

buildFilesFolder = await _getBuildFilesFolder();
buildFilesFolder = await _updateBuildFilesFolder();

if (createWithDebugBuildFiles) {
buildFilesFolder = buildFilesFolder.replaceFirst('Release', 'Debug');
Expand Down Expand Up @@ -354,6 +354,8 @@ class Configuration {

/// Validate "flutter build windows" output files
Future<void> validateWindowsBuildFiles() async {
buildFilesFolder = await _updateBuildFilesFolder();

_logger.trace('validating build files');

if (!await Directory(buildFilesFolder).exists() ||
Expand Down Expand Up @@ -419,7 +421,7 @@ class Configuration {
_args = parser.parse(args.where((arg) => arg != '-v'));
}

Future<String> _getBuildFilesFolder() async {
Future<String> _updateBuildFilesFolder() async {
final String buildFilesFolderStart =
buildFilesFolder.substring(0, buildFilesFolder.lastIndexOf('runner'));
final String buildFilesFolderArchitecture =
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.16.6
version: 3.16.7
maintainer: Yehuda Kremer ([email protected])
homepage: https://github.com/YehudaKremer/msix
issue_tracker: https://github.com/YehudaKremer/msix/issues
Expand Down

0 comments on commit 2faab7e

Please sign in to comment.