Open linquize opened 4 years ago
Thanks for the report. But seems there is little we can do until this is fixed in Electron..?
One thing you could do: release a windows portable exe as well as nsis?
"win": { "target": [ "portable", "nsis" ] }
Did you verify that that would fix it?
I'm not a Windows-user... but sounds also like something that should somehow be configurable in the registry or somewhere?
This is not to "fix", but to produce one more output: portable executable. The problematic nsis setup is also produced. Please release both. Since 2 outputs are produced, user can choose to download portable version.
Yes, but have you verified that the portable version doesn't have this problem? I don't understand why it would be different...?
NSIS setup writes file assoxiations to Windows registry, because you put fileAssociations
in package.json
. electron-builder will generate write registry code in NSIS script.
Portable exe extracts files to a temporary directory before every run. It does not write to Windows registry. Therefore, portable exe does not have such problem
I'll take a look for the next release... meanwhile, you can also build it yourself...
Windows installer: User cannot opt-out file type association. File type association in Windows registry is problematic. After installing panwriter from installer, Explorer -> Right Click -> New -> Text Document is removed because some registry values are wrong.
I want to opt-out file type association.