mirror of
https://github.com/xmrig/xmrig.git
synced 2025-12-08 00:15:04 -05:00
Merge branch 'patch-1' of https://github.com/nopeinomicon/xmrig into nopeinomicon-patch-1
This commit is contained in:
@@ -136,6 +136,18 @@ private:
|
|||||||
if (read(chain, config)) {
|
if (read(chain, config)) {
|
||||||
return config.release();
|
return config.release();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
chain.addFile(Process::location(Process::HomeLocation, ".xmrig.json"));
|
||||||
|
|
||||||
|
if (read(chain, config)) {
|
||||||
|
return config.release();
|
||||||
|
}
|
||||||
|
|
||||||
|
chain.addFile(Process::location(Process::HomeLocation, ".config/xmrig.json"));
|
||||||
|
|
||||||
|
if (read(chain, config)) {
|
||||||
|
return config.release();
|
||||||
|
}
|
||||||
|
|
||||||
# ifdef XMRIG_FEATURE_EMBEDDED_CONFIG
|
# ifdef XMRIG_FEATURE_EMBEDDED_CONFIG
|
||||||
chain.addRaw(default_config);
|
chain.addRaw(default_config);
|
||||||
|
|||||||
Reference in New Issue
Block a user