From a34fbadaabf5bb4bdff253939b40aa798e4472f0 Mon Sep 17 00:00:00 2001 From: Niels van Velzen Date: Fri, 22 Mar 2024 19:47:52 +0100 Subject: [PATCH] Log current version to console to help out with issue triage and debugging --- src/index.jsx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/index.jsx b/src/index.jsx index 9d66a09838..4c9d965b98 100644 --- a/src/index.jsx +++ b/src/index.jsx @@ -38,6 +38,7 @@ import './legacy/vendorStyles'; import { currentSettings } from './scripts/settings/userSettings'; import taskButton from './scripts/taskbutton'; import RootApp from './RootApp.tsx'; +import { name as WEB_NAME, version as WEB_VERSION } from '../package.json'; import './styles/livetv.scss'; import './styles/dashboard.scss'; @@ -59,6 +60,9 @@ function loadCoreDictionary() { } function init() { + // Log current version to console to help out with issue triage and debugging + console.log(`${WEB_NAME} version ${WEB_VERSION} build ${__JF_BUILD_VERSION__}`); + // This is used in plugins window.Events = Events; window.TaskButton = taskButton;