lessmsi
lessmsi copied to clipboard
Portable mode
Hi, the program creates a file on: C:\Users\USERNAME\AppData\Local\LessMsi\lessmsi-gui.exe_Url_2f40pggqe2qwc3oufnjnqq0l3gqel3k3\1.6.91.0\user.config
It would awesome if it were created only on the same folder where the executable is, so that it can be used as portable on a USB pendrive, and without leave traces. Cheers.
It is using System.Configuration.ApplicationSettingsBase
to store the recent files opened so I think that's where that file is coming from. If someone submitted a PR to store them locally I'd accept it (assuming tests all pass, it is a minimal change, etc.)
Settings are handled at https://github.com/activescott/lessmsi/tree/master/src/LessMsi.Gui/Properties
And as far as I recall the only thing saving/loading settings is in https://github.com/activescott/lessmsi/blob/master/src/LessMsi.Gui/MruMenuStripManager.cs#L69
$ ls -1p *.*
LessIO.dll
lessmsi.core.dll
lessmsi.exe
libmspackn.dll
mspack.dll
wix.dll
wixcab.dll
Could you be so kind to pack this whole zoo into one neat executable?