electron-userland / electron-windows-store

:package: Turn Electron Apps into Windows AppX Packages
MIT License
678 stars 86 forks source link

How do I reset the initial configuration of the package? #137

Closed evangunawan closed 3 years ago

evangunawan commented 3 years ago

So I had this configuration shows when I run the command

PS C:\Windows\system32> electron-windows-store
You need at least Node 4.x to run this script

Configuration:
Desktop Converter Location:    false
Expanded Base Image:           false
Publisher:                     CN=devcert
Dev Certificate:               C:\Users\evang\AppData\Roaming\electron-windows-store\devcert\devcert.pfx
Windows Kit Location:          C:\Program Files (x86)\Windows Kits\10\bin\10.0.18362.0\x64

And I have CN=devcert as the publisher as the location of the cert is in my AppData\Roaming directory, the problem is I wanted to rename my certificate, thus I deleted the devcert folder inside electron-windows-store, which then I thought it will ask me again when I run the command. But it isn't the dev certificate path still saved and displayed, and I do not know how to reset or change it.

I tried to remove the npm package by uninstalling it and then install it again globally.

Thank you in advance.

evangunawan commented 3 years ago

Nevermind, I got the solution ;).

For others that had a same issue, just delete .electron-windows-store file in your C:\<username>\ directory.