From caba091723934803072ab0c911b651baf36fcf67 Mon Sep 17 00:00:00 2001 From: marcopiraccini Date: Tue, 12 Dec 2023 10:47:26 +0100 Subject: [PATCH] show the version in the window title --- src/main/index.mjs | 2 ++ src/renderer/index.html | 2 -- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/index.mjs b/src/main/index.mjs index e36ffba2..ad889639 100644 --- a/src/main/index.mjs +++ b/src/main/index.mjs @@ -10,6 +10,7 @@ import log from 'electron-log' log.transports.file.level = 'info' log.info('App starting...') +const version = app.getVersion() const generate = require('boring-name-generator') @@ -40,6 +41,7 @@ function createWindow () { minWidth: 1440, minHeight: 980, show: false, + title: `Platformatic Meraki ${version}`, autoHideMenuBar: false, ...(process.platform === 'linux' ? { icon } : {}), webPreferences: { diff --git a/src/renderer/index.html b/src/renderer/index.html index 304ed76f..a11aa2e3 100644 --- a/src/renderer/index.html +++ b/src/renderer/index.html @@ -4,10 +4,8 @@ - Platformatic Meraki - Platformatic Meraki