Skip to content

Commit

Permalink
Open external links in updater in new tab
Browse files Browse the repository at this point in the history
  • Loading branch information
xdpirate committed Nov 20, 2023
1 parent 30bfa1b commit de87597
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions updater.php
Original file line number Diff line number Diff line change
Expand Up @@ -66,15 +66,15 @@
$output = implode($output);
if($output == "Already up to date.") {
print("
<div>Already up to date (commit <a href='https://github.com/xdpirate/gamehorizon/commit/$commitHash'><b><code>$commitHash</code></b></a>).<br /><br />
<div>Already up to date (commit <a href='https://github.com/xdpirate/gamehorizon/commit/$commitHash' target='_blank'><b><code>$commitHash</code></b></a>).<br /><br />
<a href='.'>Return to GameHorizon</a>
</div>
");
} else {
print("
<div>
Success! Updated to <a href='https://github.com/xdpirate/gamehorizon/commit/$commitHash'><b><code>$commitHash</code></b></a>.<br /><br />
<a href='https://github.com/xdpirate/gamehorizon/commits/main'>See commit history</a>
Success! Updated to <a href='https://github.com/xdpirate/gamehorizon/commit/$commitHash' target='_blank'><b><code>$commitHash</code></b></a>.<br /><br />
<a href='https://github.com/xdpirate/gamehorizon/commits/main' target='_blank'>See commit history</a>
<a href='.'>Return to GameHorizon</a>
</div>
");
Expand Down

0 comments on commit de87597

Please sign in to comment.