0

I have setup a XMRig miner on my Windows 11 and it runs perfectly, I want to convert this XMRig miner file and its configuration( config.json) into a single executable and upload on GitHub. And later when I want to run this on another Windows computer, I'd have to simply run git clone. That way I would not have to go through setup steps again.

Please tell me the steps involved and how I could achieve this. Thanks in advance😊

1 Answer 1

1

You can build XMRig with an embedded config. See this issue comment:

  1. Use cmake option -DWITH_EMBEDDED_CONFIG=ON to enable this feature.
  2. Edit/replace config sample in code src/core/config/Config_default.h#L31
  3. Recompile the miner.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.