Skip to content

Commit 58c449f

Browse files
authored
Update download links
1 parent 0da6455 commit 58c449f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

components/landing-page.tsx

+3-3
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@ export default function Component() {
2727
useEffect(() => {
2828
const userAgent = window.navigator.userAgent;
2929
if (userAgent.indexOf('Win') !== -1) {
30-
setDownloadLink('https://github.com/tmoroney/auto-subs/releases/download/V2.1/AutoSubs-Win-setup.exe');
30+
setDownloadLink('https://github.com/tmoroney/auto-subs/releases/latest/download/AutoSubs-Win-setup.exe');
3131
} else if (userAgent.indexOf('Mac') !== -1) {
32-
setDownloadLink('https://github.com/tmoroney/auto-subs/releases/download/V2.1/AutoSubs-Mac-ARM.pkg');
32+
setDownloadLink('https://github.com/tmoroney/auto-subs/releases/latest/download/AutoSubs-Mac-ARM.pkg');
3333
} else {
3434
setDownloadLink('https://github.com/tmoroney/auto-subs/releases');
3535
}
@@ -391,4 +391,4 @@ export default function Component() {
391391
</footer>
392392
</div >
393393
)
394-
}
394+
}

0 commit comments

Comments
 (0)