From 1c3dc16b4d952e001d219f2ac1347fe967a1c777 Mon Sep 17 00:00:00 2001 From: John Starich Date: Sun, 16 Feb 2020 23:33:55 -0600 Subject: [PATCH] Point latest release link to Download Sage doc Also update macOS download link for dmg --- .github/docs/download-app.md | 2 +- web/src/App.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/docs/download-app.md b/.github/docs/download-app.md index 54bbf88..22c0304 100644 --- a/.github/docs/download-app.md +++ b/.github/docs/download-app.md @@ -5,7 +5,7 @@ Download the Sage app for [Windows][], [Mac][], or [Linux][]. For more information, see the [latest release][]. [Windows]: https://github.com/JohnStarich/sage/releases/latest/download/Sage-for-Windows.exe -[Mac]: https://github.com/JohnStarich/sage/releases/latest/download/Sage-for-Mac.zip +[Mac]: https://github.com/JohnStarich/sage/releases/latest/download/Sage-for-Mac.dmg [Linux]: https://github.com/JohnStarich/sage/releases/latest/download/Sage-for-Linux.deb [latest release]: https://github.com/JohnStarich/sage/releases/latest diff --git a/web/src/App.js b/web/src/App.js index 9a8b446..7268380 100644 --- a/web/src/App.js +++ b/web/src/App.js @@ -66,7 +66,7 @@ function AppContent({ match }) { // 2) and correctly open a new window in Electron e.preventDefault() let elem = document.createElement('a') - elem.setAttribute('href', 'https://github.com/JohnStarich/sage/releases/latest') + elem.setAttribute('href', 'https://github.com/JohnStarich/sage/blob/master/.github/docs/download-app.md') elem.setAttribute('target', '_blank') elem.click() }}>