diff --git a/CHANGELOG.md b/CHANGELOG.md index a1abaab..cbc23b3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Changelog +## 3.13.3 + +- fix [#181](https://github.com/YehudaKremer/msix/issues/181) + ## 3.13.2 - get certificate publisher if using test certificate (fix [#159](https://github.com/YehudaKremer/msix/issues/159)) diff --git a/lib/src/sign_tool.dart b/lib/src/sign_tool.dart index fa6271b..406f92f 100644 --- a/lib/src/sign_tool.dart +++ b/lib/src/sign_tool.dart @@ -87,7 +87,7 @@ class SignTool { Future _getInstalledCertificateSubject(String searchCondition) async { ProcessResult certificateDetailsProcess = await _executePowershellCommand( - "dir -Recurse cert: | where {$searchCondition} | select -expandproperty Subject -First 1"); + "\$env:PSModulePath = [Environment]::GetEnvironmentVariable('PSModulePath', 'Machine');dir -Recurse cert: | where {$searchCondition} | select -expandproperty Subject -First 1"); String subject = (certificateDetailsProcess.stdout as String).trim(); diff --git a/pubspec.yaml b/pubspec.yaml index 2de589e..35ef111 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.13.2 +version: 3.13.3 maintainer: Yehuda Kremer (yehudakremer@gmail.com) homepage: https://github.com/YehudaKremer/msix issue_tracker: https://github.com/YehudaKremer/msix/issues