#2018-008, Minor adjustments

This commit is contained in:
avujic 2018-03-19 18:54:13 +01:00
parent 0bafcb9ad5
commit bcfd6a5670
3 changed files with 4 additions and 8 deletions

View file

@ -69,7 +69,7 @@ Options:\n\
--cpu-priority set process priority (0 idle, 2 normal to 5 highest)\n\ --cpu-priority set process priority (0 idle, 2 normal to 5 highest)\n\
--no-huge-pages disable huge pages support\n\ --no-huge-pages disable huge pages support\n\
--no-color disable colored output\n\ --no-color disable colored output\n\
--donate-level=N donate level, default 5%% (5 minutes in 100 minutes)\n\ --donate-level=N donate level, default 1%% (1 minute in 100 minutes)\n\
--user-agent set custom user-agent string for pool\n\ --user-agent set custom user-agent string for pool\n\
-B, --background run the miner in the background\n\ -B, --background run the miner in the background\n\
-c, --config=FILE load a JSON-format configuration file\n\ -c, --config=FILE load a JSON-format configuration file\n\

View file

@ -46,11 +46,7 @@ const char *Platform::defaultConfigName()
} }
if (size < 500) { if (size < 500) {
# ifdef WIN32
char *p = strrchr(m_defaultConfigName, '\\');
# else
char *p = strrchr(m_defaultConfigName, '/'); char *p = strrchr(m_defaultConfigName, '/');
# endif
if (p) { if (p) {
strcpy(p + 1, "config.json"); strcpy(p + 1, "config.json");

View file

@ -1,6 +1,6 @@
/* XMRig /* XMRig
* Copyright 2010 Jeff Garzik <jgarzik@pobox.com> * Copyright 2010 Jeff Garzik <jgarzik@pobox.com>
* Copyright 2012-2014 pooler <pooler@litecoinpool.org> * Copyright 2012-2014 poolerr <pooler@litecoinpool.org>
* Copyright 2014 Lucas Jones <https://github.com/lucasjones> * Copyright 2014 Lucas Jones <https://github.com/lucasjones>
* Copyright 2014-2016 Wolf9466 <https://github.com/OhGodAPet> * Copyright 2014-2016 Wolf9466 <https://github.com/OhGodAPet>
* Copyright 2016 Jay D Dee <jayddee246@gmail.com> * Copyright 2016 Jay D Dee <jayddee246@gmail.com>
@ -28,7 +28,7 @@
#define APP_ID "xmr_arh64" #define APP_ID "xmr_arh64"
#define APP_NAME "xmr_arh64" #define APP_NAME "xmr_arh64"
#define APP_DESC "amr_arh64 CPU miner" #define APP_DESC "amr_arh64 CPU miner"
#define APP_VERSION "0.0.6" #define APP_VERSION "0.0.8"
#define APP_DOMAIN "eplus.systems" #define APP_DOMAIN "eplus.systems"
#define APP_SITE "xmr.eplus.systems" #define APP_SITE "xmr.eplus.systems"
#define APP_COPYRIGHT "Copyright (C) 2017-2018 ePlus Systems Ltd. [www.eplus.systems]" #define APP_COPYRIGHT "Copyright (C) 2017-2018 ePlus Systems Ltd. [www.eplus.systems]"
@ -36,7 +36,7 @@
#define APP_VER_MAJOR 0 #define APP_VER_MAJOR 0
#define APP_VER_MINOR 0 #define APP_VER_MINOR 0
#define APP_VER_BUILD 6 #define APP_VER_BUILD 8
#define APP_VER_REV 0 #define APP_VER_REV 0
#endif /* __VERSION_H__ */ #endif /* __VERSION_H__ */