mirror of
https://github.com/xmrig/xmrig.git
synced 2025-12-08 08:23:34 -05:00
Added pause-on-active option
Windows only for now. When set to true, pauses mining when user touches mouse or keyboard.
This commit is contained in:
@@ -270,4 +270,5 @@ void xmrig::Config::getJSON(rapidjson::Document &doc) const
|
||||
doc.AddMember(StringRef(kVerbose), Log::verbose(), allocator);
|
||||
doc.AddMember(StringRef(kWatch), m_watch, allocator);
|
||||
doc.AddMember(StringRef(kPauseOnBattery), isPauseOnBattery(), allocator);
|
||||
doc.AddMember(StringRef(kPauseOnActive), isPauseOnActive(), allocator);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user