Skip to content
This repository has been archived by the owner on Mar 7, 2023. It is now read-only.

Commit

Permalink
Direct url to update.
Browse files Browse the repository at this point in the history
  • Loading branch information
Braasileiro committed Aug 29, 2021
1 parent c808a6f commit c4bb8d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/util/update.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ export async function checkVersion(fromUser: boolean) {
checkboxChecked: !Preferences.getPreference<boolean>(APP.preferences.checkUpdates)
}).then(result => {
if (result.response == 0) {
shell.openExternal(json.homepage);
shell.openExternal(`${json.homepage}/releases/tag/${json.version}`);
}

Preferences.setPreference(APP.preferences.checkUpdates, !result.checkboxChecked)
Expand Down

0 comments on commit c4bb8d8

Please sign in to comment.