qt/LedOK/cfg.cpp

11 lines
346 B
C++
Raw Normal View History

2022-08-25 18:37:24 +08:00
#include "cfg.h"
#include <QApplication>
#include <QStandardPaths>
2022-01-20 10:08:17 +08:00
2023-05-18 18:24:40 +08:00
const QString UpdVerUrl = "https://www.ledok.cn/download/LedOK Express Updates.json";
2022-01-20 10:08:17 +08:00
2022-08-25 18:37:24 +08:00
QString programsDir() {
static auto rtn = QStandardPaths::writableLocation(QStandardPaths::DocumentsLocation) + "/" + QApplication::applicationName() + "/NPrograms";
return rtn;
2022-01-20 10:08:17 +08:00
}