anadventureisu / cast-xmr-ui

GUI for monitoring cast-xmr
Apache License 2.0
10 stars 3 forks source link

store config in app dir #4

Closed anadventureisu closed 6 years ago

anadventureisu commented 6 years ago

Currently, the app's configuration is stored under %AppData% and won't copy to multiple machines with the application. Change config code to store config to app directory so it copies along with the app.

anadventureisu commented 6 years ago

A fix here is going to be hard since I'm currently using the built-in ApplicationSettings object in .NET. However, there's an easy workaround:

In the application directory, there's a file cast-xmr-ui.exe.config. This contains the default settings for the application. You can edit this before starting the application and set the defaults to whatever you want. This can then be copied to multiple systems.

anadventureisu commented 6 years ago

@sgmihai see above.

anadventureisu commented 6 years ago

Closing since editing the default config works for me.