Skip to content
Snippets Groups Projects
Commit aac3f3ed authored by Constantin Papizh's avatar Constantin Papizh
Browse files

Windows paths fixed

parent b0ab4840
No related branches found
No related tags found
1 merge request!11Cellframe clone
......@@ -17,7 +17,7 @@ VER_PAT = 1
win32 {
VERSION = $${VER_MAJ}.$${VER_MIN}.$$VER_PAT
DEFINES += CLI_PATH=\\\"./cellframe-node-cli.exe\\\"
DEFINES += CLI_PATH=\\\"cellframe-node-cli.exe\\\"
DEFINES += HAVE_STRNDUP
}
else {
......
......@@ -18,9 +18,7 @@ VER_PAT = 1
win32 {
CONFIG -= console
VERSION = $${VER_MAJ}.$${VER_MIN}.$$VER_PAT
DEFINES += CLI_PATH=\\\"./cellframe-node-cli.exe\\\"
DEFINES += LOG_FILE=\\\"C:/Users/Public/Documents/cellframe-node/var/log/cellframe-node.log\\\"
DEFINES += CMD_HISTORY=\\\"./opt/cellframe-dashboard/data/cmd_history.txt\\\"
DEFINES += CLI_PATH=\\\"cellframe-node-cli.exe\\\"
DEFINES += HAVE_STRNDUP
}
else {
......
#include "DapServiceController.h"
#ifdef Q_OS_WIN
#include "registry.h"
#define LOG_FILE QString("%1/cellframe-node/var/log/cellframe-node.log").arg(regGetUsrPath())
#define CMD_HISTORY QString("%1/%2/data/cmd_history.txt").arg(regGetUsrPath()).arg(DAP_BRAND)
#endif
/// Standard constructor.
/// @param parent Parent.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment