Versioning improvements (#768)
Co-authored-by: ReenigneArcher <42013603+ReenigneArcher@users.noreply.github.com>
This commit is contained in:
parent
889b93da2d
commit
c29c917474
14 changed files with 243 additions and 19 deletions
|
|
@ -33,6 +33,7 @@
|
|||
#include "rtsp.h"
|
||||
#include "utility.h"
|
||||
#include "uuid.h"
|
||||
#include "version.h"
|
||||
|
||||
using namespace std::literals;
|
||||
|
||||
|
|
@ -503,6 +504,7 @@ void getConfig(resp_https_t response, req_https_t request) {
|
|||
|
||||
outputTree.put("status", "true");
|
||||
outputTree.put("platform", SUNSHINE_PLATFORM);
|
||||
outputTree.put("version", PROJECT_VER);
|
||||
outputTree.put("restart_supported", platf::restart_supported());
|
||||
|
||||
auto vars = config::parse_config(read_file(config::sunshine.config_file.c_str()));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue