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

Run several instances of MinerLamp with different command-line arguments #10

Closed
bdal69 opened this issue Jul 25, 2017 · 6 comments
Closed

Comments

@bdal69
Copy link

bdal69 commented Jul 25, 2017

Hi Orkblutt.

Thanks for your work, it is really a nice tool.
I would like to be able to run several instances of MinerLamp, because I run the devices by groups
I created two folders with MinerLamp and tried to run each instances from each folder, but MinerLamps will alway have the settings from the last instance running. Anyway to have several instances running, each keeping its own settings when starting or restarting?

Thanks.

@orkblutt
Copy link
Owner

Hey bdal69,

I'm using QSettings to save/load settings. On Windows, it uses the registry to store the value. Using the same root key for each instance...
I could detect how much instances are already running and use a counter for key naming. I'll add it in the todo list.

@bdal69
Copy link
Author

bdal69 commented Jul 25, 2017

Thanks

@orkblutt
Copy link
Owner

Hi.
You can experiment to create several folder and put last minerlamp file in them... each minerlamp instance will store parameters from it's own minerlamp.ini file locating in same folder.
Let me know if it's ok for you.

@bdal69
Copy link
Author

bdal69 commented Jul 27, 2017

Hi,

I tried the multi-instances version.

It does not seem to create the minerlamp.ini file in my case. It seems to still take the parameters from the registry because it loaded with the parameters from the previous version. May be I should delete it from the registry first. I ran a seach on the registry but there are so many references to minerlamp that I don't know what to delete. Do you know where are stored these parameters in the registry?

@orkblutt
Copy link
Owner

Release issue... It's fixed now in the last .zip

@bdal69
Copy link
Author

bdal69 commented Jul 29, 2017

Very nice.
Working fine, thanks

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

No branches or pull requests

2 participants