mirror of
https://github.com/jhbruhn/respira.git
synced 2026-01-27 10:23:41 +00:00
Merge pull request #1 from jhbruhn/show-version
feature: Display version in Electron window title
This commit is contained in:
commit
e48879d8f9
1 changed files with 1 additions and 0 deletions
|
|
@ -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,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue