|
1 | 1 | <script lang="ts"> |
2 | 2 | import DualHeader from '$lib/components/common/DualHeader.svelte'; |
3 | 3 |
|
4 | | - const ankiVersion = '25.02.7'; |
| 4 | + const ankiVersion = '25.09'; |
5 | 5 | const winMinVer = '10'; |
6 | 6 | const macosMinVer = '12'; |
7 | 7 | const linuxMinYear = '2023'; |
8 | 8 |
|
9 | 9 | function buildDownloadURL(platform: string, extension: string): string { |
10 | | - return `https://github.com/ankitects/anki/releases/download/${ankiVersion}/anki-${ankiVersion}-${platform}-qt6.${extension}`; |
| 10 | + return `https://github.com/ankitects/anki/releases/download/${ankiVersion}/anki-launcher-${ankiVersion}-${platform}.${extension}`; |
11 | 11 | } |
12 | 12 | </script> |
13 | 13 |
|
|
32 | 32 | <div class="col-span-1 md:col-span-5 mb-6 md:mb-0 md:pr-8"> |
33 | 33 | <h3 class="text-2xl font-medium capitalize md:text-3xl">Desktop</h3> |
34 | 34 | <p class="mt-4 leading-snug text-subtle"> |
35 | | - If you have a <a |
36 | | - href="https://support.apple.com/en-au/116943" |
37 | | - class="text-primary hover:opacity-80" |
38 | | - > |
39 | | - recent Mac |
40 | | - </a>, pick the Apple Silicon version for better performance and battery life. Older Macs |
41 | | - will need to use the Intel version instead. |
| 35 | + The free computer version is available for all major platforms. |
42 | 36 | </p> |
43 | 37 | </div> |
44 | 38 | <div class="col-span-1 md:col-span-7 grid divide-y divide-foreground/[13%]"> |
|
65 | 59 | <h4 class="font-medium text-xl">macOS {macosMinVer}+</h4> |
66 | 60 | <div class="flex flex-col items-end gap-3"> |
67 | 61 | <a |
68 | | - href={buildDownloadURL('mac-apple', 'dmg')} |
69 | | - class="flex items-center gap-1 text-base font-medium text-right md:text-xl text-primary hover:opacity-60" |
70 | | - > |
71 | | - <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" class="size-6"> |
72 | | - <path |
73 | | - fill="currentColor" |
74 | | - d="M17.537 12.625a4.42 4.42 0 0 0 2.684 4.047a11 11 0 0 1-1.384 2.845c-.834 1.218-1.7 2.432-3.062 2.457c-1.34.025-1.77-.794-3.3-.794c-1.531 0-2.01.769-3.275.82c-1.316.049-2.317-1.318-3.158-2.532c-1.72-2.484-3.032-7.017-1.27-10.077A4.9 4.9 0 0 1 8.91 6.884c1.292-.025 2.51.869 3.3.869c.789 0 2.27-1.075 3.828-.917a4.67 4.67 0 0 1 3.66 1.984a4.52 4.52 0 0 0-2.16 3.805m-2.52-7.432A4.4 4.4 0 0 0 16.06 2a4.48 4.48 0 0 0-2.945 1.516a4.18 4.18 0 0 0-1.061 3.093a3.7 3.7 0 0 0 2.967-1.416Z" |
75 | | - /> |
76 | | - </svg> |
77 | | - <span>Anki Apple Silicon {ankiVersion}</span> |
78 | | - </a> |
79 | | - <a |
80 | | - href={buildDownloadURL('mac-intel', 'dmg')} |
| 62 | + href={buildDownloadURL('mac', 'dmg')} |
81 | 63 | class="flex items-center gap-1 text-base font-medium text-right md:text-xl text-primary hover:opacity-60" |
82 | 64 | > |
83 | 65 | <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" class="size-6"> |
|
86 | 68 | d="M17.537 12.625a4.42 4.42 0 0 0 2.684 4.047a11 11 0 0 1-1.384 2.845c-.834 1.218-1.7 2.432-3.062 2.457c-1.34.025-1.77-.794-3.3-.794c-1.531 0-2.01.769-3.275.82c-1.316.049-2.317-1.318-3.158-2.532c-1.72-2.484-3.032-7.017-1.27-10.077A4.9 4.9 0 0 1 8.91 6.884c1.292-.025 2.51.869 3.3.869c.789 0 2.27-1.075 3.828-.917a4.67 4.67 0 0 1 3.66 1.984a4.52 4.52 0 0 0-2.16 3.805m-2.52-7.432A4.4 4.4 0 0 0 16.06 2a4.48 4.48 0 0 0-2.945 1.516a4.18 4.18 0 0 0-1.061 3.093a3.7 3.7 0 0 0 2.967-1.416Z" |
87 | 69 | /> |
88 | 70 | </svg> |
89 | | - <span>Anki Apple Intel {ankiVersion}</span> |
| 71 | + <span>Anki {ankiVersion}</span> |
90 | 72 | </a> |
91 | 73 | </div> |
92 | 74 | </div> |
|
0 commit comments