Skip to content

Commit

Permalink
Fixed about me section's link part.
Browse files Browse the repository at this point in the history
  • Loading branch information
Adib23704 committed Nov 4, 2024
1 parent 0188244 commit 49e270e
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion html/about.html
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,8 @@ <h2>About</h2>
</div>
<div class="section">
<label>Developer:</label>
<div class="content">Zahin A. Adib (Adib23704) - <a href="https://adib.lol">www.adib.lol</a></div>
<div class="content">Zahin A. Adib (Adib23704) - <a href="#"
onclick="openExternalLink('https://adib.lol')">www.adib.lol</a></div>
</div>
<div class="section">
<label>Description:</label>
Expand All @@ -114,6 +115,10 @@ <h2>About</h2>
ipcRenderer.send('check-for-update');
}

function openExternalLink(url) {
shell.openExternal(url);
}

ipcRenderer.on('update-available', (event, available, version, url) => {
if (available) {
if (confirm(`A new version (${version}) is available. Would you like to update?`)) {
Expand Down

0 comments on commit 49e270e

Please sign in to comment.