Skip to content

Commit

Permalink
Add version prefix (v) to About window.
Browse files Browse the repository at this point in the history
  • Loading branch information
SpacingBat3 committed Mar 4, 2022
1 parent ddb1219 commit 43c2c6d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sources/code/renderer/preload/about.ts
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ function generateAppContent(l10n:L10N["web"]["aboutWindow"], details:aboutWindow
const repoElement = document.getElementById("appRepo");
if(!nameElement || !versionElement || !repoElement) return;
nameElement.innerText = details.appName + " ("+details.buildInfo.type+")";
versionElement.innerText = details.appVersion + (details.buildInfo.commit !== undefined ? "-"+details.buildInfo.commit.substring(0, 7) : "");
versionElement.innerText = 'v' + details.appVersion + (details.buildInfo.commit !== undefined ? "-"+details.buildInfo.commit.substring(0, 7) : "");
(document.getElementById("logo") as HTMLImageElement).src = getAppIcon([256,192,128,96])

if(repoElement.tagName === 'A')
Expand Down

0 comments on commit 43c2c6d

Please sign in to comment.