UnamSanctam / SilentXMRMiner

A Silent (Hidden) Monero (XMR) Miner Builder
MIT License
557 stars 162 forks source link

Quick quesiton #490

Closed muggs88 closed 2 years ago

muggs88 commented 2 years ago

I was wondering. If someone runs the miner with admin privilege's, and then runs it again without admin privilege's, will the version of the miner when the person accepts admin privilege's be active or would the version of the miner without admin privilege's be active.

UnamSanctam commented 2 years ago

If you compile it with "Run as Administrator" enabled then you can only start it as administrator and not a normal user (that's how Windows works). But if you mean a miner without "Run as Administrator" being run as an administrator manually)and then as a normal user (in that exact order) then it would most likely start twice since it's impossible for the normal users miner to read the administrator processes to see if it's already running. But the miner would still only be installed once so after restart it would only start one anyways.

muggs88 commented 2 years ago

What if I compile it with run as administrator. They start it as administrator and it runs. And then they run it again but decline administrator. Would the miner still be running or because they ran it again and declined administrator would it overwrite it and stop the miner. If that makes sense.

UnamSanctam commented 2 years ago

If you decline running it as administrator then it won't run, that's how Windows works.

muggs88 commented 2 years ago

Even if after running it with administrator first.

UnamSanctam commented 2 years ago

If you decline the administrator rights request then Windows will not start the file, the administrator rights request is done by Windows and not the miner itself.

muggs88 commented 2 years ago

Oh ok I was confused. Also, I am excited for the unified miner, how far have you gotten?

UnamSanctam commented 2 years ago

Both the ETH miner and XMR miners are basically done, I just have the finish the quality of life stuff in the panel (and have to fix my test servers networking since it broke completely today). Then I just have to finish the multi-language support in the builder (already finished in the panel), then there is also all the documentation for the miner and panel as well.

muggs88 commented 2 years ago

I am very excited keep up the good work!!!