Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Portable mode #137

Open
hellishvictor opened this issue Apr 26, 2020 · 2 comments
Open

Portable mode #137

hellishvictor opened this issue Apr 26, 2020 · 2 comments

Comments

@hellishvictor
Copy link

hellishvictor commented Apr 26, 2020

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.

@activescott
Copy link
Owner

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

@sergeevabc
Copy link

$ 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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants