mirror of
https://github.com/xmrig/xmrig.git
synced 2025-12-08 08:23:34 -05:00
Fixed: failed open default config file if path contains non English characters.
This commit is contained in:
@@ -28,6 +28,7 @@
|
||||
class Platform
|
||||
{
|
||||
public:
|
||||
static const char *defaultConfigName();
|
||||
static void init();
|
||||
static void release();
|
||||
static void setProcessPriority(int priority);
|
||||
@@ -36,6 +37,7 @@ public:
|
||||
static inline const char *userAgent() { return m_userAgent; }
|
||||
|
||||
private:
|
||||
static char *m_defaultConfigName;
|
||||
static char *m_userAgent;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user