mirror of
https://github.com/hyperion-project/hyperion.ng.git
synced 2025-03-01 10:33:28 +00:00
Hyperion Light 2 (#1428)
* Hyperion Light - Have EffectEngine as component * Hyperion light - Build switches for LED Devices (Serial, Network) * Fix file uri generation * Fix missing guard for Windows * Fix file uri generation * Update jsonschema and checkschema * Allow to provide cmake build args to docker build
This commit is contained in:
@@ -1,5 +1,9 @@
|
||||
#include "HyperionConfig.h"
|
||||
|
||||
#if defined(ENABLE_EFFECTENGINE)
|
||||
// Python includes
|
||||
#include <Python.h>
|
||||
#endif
|
||||
|
||||
#include "utils/SysInfo.h"
|
||||
#include "utils/FileUtils.h"
|
||||
@@ -10,6 +14,9 @@
|
||||
#include <QRegularExpressionMatch>
|
||||
|
||||
#include <iostream>
|
||||
#ifndef _WIN32
|
||||
#include <unistd.h>
|
||||
#endif
|
||||
|
||||
#ifdef _WIN32
|
||||
#include <shlobj_core.h>
|
||||
@@ -32,7 +39,9 @@ SysInfo::SysInfo()
|
||||
_sysinfo.isUserAdmin = isUserAdmin();
|
||||
getCPUInfo();
|
||||
_sysinfo.qtVersion = QT_VERSION_STR;
|
||||
#if defined(ENABLE_EFFECTENGINE)
|
||||
_sysinfo.pyVersion = PY_VERSION;
|
||||
#endif
|
||||
}
|
||||
|
||||
SysInfo::HyperionSysInfo SysInfo::get()
|
||||
|
Reference in New Issue
Block a user