Merge pull request #758 from Cooldude2606/feature/pending-restart

Add indicators for host version mismatch and required restart
This commit is contained in:
Daniel authored and GitHub committed 2025-05-11 14:14:39 +02:00
commit 0adb45bba4
14 files changed
+248 -79

No files matched your search

+2
View File
@@ -361,6 +361,8 @@ async function initialize(): Promise<InitializeParameters> {
}
}
controllerConfig.set("controller.version", version); // Allows tracking last loaded version
if (!controllerConfig.get("controller.auth_secret")) {
logger.info("Generating new controller authentication secret");
let asyncRandomBytes = util.promisify(crypto.randomBytes);