Skip to content

Commit

Permalink
Update download links
Browse files Browse the repository at this point in the history
  • Loading branch information
tmoroney authored Dec 12, 2024
1 parent 0da6455 commit 58c449f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions components/landing-page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@ export default function Component() {
useEffect(() => {
const userAgent = window.navigator.userAgent;
if (userAgent.indexOf('Win') !== -1) {
setDownloadLink('https://github.com/tmoroney/auto-subs/releases/download/V2.1/AutoSubs-Win-setup.exe');
setDownloadLink('https://github.com/tmoroney/auto-subs/releases/latest/download/AutoSubs-Win-setup.exe');
} else if (userAgent.indexOf('Mac') !== -1) {
setDownloadLink('https://github.com/tmoroney/auto-subs/releases/download/V2.1/AutoSubs-Mac-ARM.pkg');
setDownloadLink('https://github.com/tmoroney/auto-subs/releases/latest/download/AutoSubs-Mac-ARM.pkg');
} else {
setDownloadLink('https://github.com/tmoroney/auto-subs/releases');
}
Expand Down Expand Up @@ -391,4 +391,4 @@ export default function Component() {
</footer>
</div >
)
}
}

0 comments on commit 58c449f

Please sign in to comment.