YehudaKremer / msix

Create Msix installer for flutter windows-build files.
https://pub.dev/packages/msix
MIT License
276 stars 68 forks source link

Issue: How to un-set or reset from test_certificate.pfx #224

Open GradySain opened 1 year ago

GradySain commented 1 year ago

:information_source: Info

Version: ^3.16.1

:speech_balloon: Description

How to un-set or reset from test_certificate.pfx
I set up a starter project and ran dart run msix:create. I chose install the certificate test_certificate.pfx.
I would like to run dart run msix:create again, but this time, change my pubspec.yaml and use my own certificate. I tried flutter clean and ran dart run msix:create again, but I don't get an option here to choose, the test_certificate.pfx is forever linked to this msix?

:scroll: Pubspec.yaml

msix_config:
  display_name: TestProject
  msix_version: 0.0.0.1
GradySain commented 1 year ago

Did a Windows search for test_certificate.pfx, found it C:\Users\xxxxx\AppData\Local\Pub\Cache\hosted\pub.dev\msix-3.16.1\lib\assets, deleted it.

Ran dart run msix:create, it failed. Tried flutter clean, flutter pub get, dart run msix:create, still failed. Replaced test_certificate.pfx in original directory, and ran dart run msix:create again, it worked.

How can I reset things so that dart run msix:create starts fresh?