paolosalvatori / ServiceBusExplorer

The Service Bus Explorer allows users to connect to a Service Bus namespace and administer messaging entities in an easy manner. The tool provides advanced features like import/export functionality or the ability to test topic, queues, subscriptions, relay services, notification hubs and events hubs.
MIT License
2.02k stars 586 forks source link

Configuration files are stored with the binaries #676

Open ErikMogensen opened 2 years ago

ErikMogensen commented 2 years ago

The files:

are hardcoded to be stored in the current directory, which usually is the same as the binary. That makes it impossible to change the contents of these if SBE is running from a protected directory, which for instance is the case if it has been installed using Chocolatey.

The workarounds are to either put SBE in an unprotected path or run it in elevated mode.

The question is if this can be implemented as to always use the user's personal roaming data folder. That would be a breaking change but it would be messy have a configurable path for it.

I'd prefer to always use the user's personal roaming data folder.

gtbuchanan commented 1 year ago

This is particularly annoying when launching Service Bus Explorer from CLI while working in a Git repo directory. I would really rather not add these files to .gitignore or either of the other workarounds. Roaming AppData sounds good to me.