Merge pull request #1 from jhbruhn/show-version

feature: Display version in Electron window title
This commit is contained in:
Jan-Henrik Bruhn 2025-12-12 20:59:14 +01:00 committed by GitHub
commit e48879d8f9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -31,6 +31,7 @@ function createWindow() {
minWidth: 1280, // Prevent layout from breaking into single-column mobile view minWidth: 1280, // Prevent layout from breaking into single-column mobile view
minHeight: 800, minHeight: 800,
autoHideMenuBar: true, // Hide the menu bar (can be toggled with Alt key) autoHideMenuBar: true, // Hide the menu bar (can be toggled with Alt key)
title: `Respira v${app.getVersion()}`,
webPreferences: { webPreferences: {
preload: join(__dirname, 'preload.js'), preload: join(__dirname, 'preload.js'),
nodeIntegration: false, nodeIntegration: false,