Skip to content

Commit

Permalink
Update version display
Browse files Browse the repository at this point in the history
  • Loading branch information
Levminer committed Jan 9, 2022
1 parent 7e6d20a commit 60071f5
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion app/settings/src/js/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ if (res.build_number.startsWith("alpha")) {
// set app version
document.querySelector(".about").innerHTML = `<svg xmlns="http://www.w3.org/2000/svg" class="h-6 w-6" fill="none" viewBox="0 0 24 24" stroke="currentColor">
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M13 16h-1v-4h-1m1-4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z" />
</svg> Authme ${res.authme_version}`
</svg> Authme (${res.authme_version})`

/**
* If running in development
Expand Down
8 changes: 4 additions & 4 deletions main.js
Original file line number Diff line number Diff line change
Expand Up @@ -401,7 +401,7 @@ const createWindows = () => {
* Create windows
*/
window_landing = new BrowserWindow({
title: `Authme ${authme_version}`,
title: `Authme (${authme_version})`,
x: display.bounds.x,
y: display.bounds.y,
width: 1900,
Expand All @@ -425,7 +425,7 @@ const createWindows = () => {
})

window_confirm = new BrowserWindow({
title: `Authme ${authme_version}`,
title: `Authme (${authme_version})`,
x: display.bounds.x,
y: display.bounds.y,
width: 1900,
Expand All @@ -449,7 +449,7 @@ const createWindows = () => {
})

window_application = new BrowserWindow({
title: `Authme ${authme_version}`,
title: `Authme (${authme_version})`,
x: display.bounds.x,
y: display.bounds.y,
width: 1900,
Expand Down Expand Up @@ -1660,7 +1660,7 @@ power.on("lock-screen", () => {
const createTray = () => {
const contextmenu = Menu.buildFromTemplate([
{
label: `Authme ${authme_version}`,
label: `Authme (${authme_version})`,
enabled: false,
icon: path.join(__dirname, "img/traymenu.png"),
},
Expand Down

0 comments on commit 60071f5

Please sign in to comment.