Skip to content

Commit bb905c5

Browse files
committed
Merge branch 'main' into general-changes
2 parents 224c393 + 2362eb2 commit bb905c5

File tree

1 file changed

+5
-23
lines changed

1 file changed

+5
-23
lines changed

src/lib/components/sections/Downloads.svelte

Lines changed: 5 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
11
<script lang="ts">
22
import DualHeader from '$lib/components/common/DualHeader.svelte';
33
4-
const ankiVersion = '25.02.7';
4+
const ankiVersion = '25.09';
55
const winMinVer = '10';
66
const macosMinVer = '12';
77
const linuxMinYear = '2023';
88
99
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}`;
1111
}
1212
</script>
1313

@@ -32,13 +32,7 @@
3232
<div class="col-span-1 md:col-span-5 mb-6 md:mb-0 md:pr-8">
3333
<h3 class="text-2xl font-medium capitalize md:text-3xl">Desktop</h3>
3434
<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.
4236
</p>
4337
</div>
4438
<div class="col-span-1 md:col-span-7 grid divide-y divide-foreground/[13%]">
@@ -65,19 +59,7 @@
6559
<h4 class="font-medium text-xl">macOS {macosMinVer}+</h4>
6660
<div class="flex flex-col items-end gap-3">
6761
<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')}
8163
class="flex items-center gap-1 text-base font-medium text-right md:text-xl text-primary hover:opacity-60"
8264
>
8365
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" class="size-6">
@@ -86,7 +68,7 @@
8668
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"
8769
/>
8870
</svg>
89-
<span>Anki Apple Intel {ankiVersion}</span>
71+
<span>Anki {ankiVersion}</span>
9072
</a>
9173
</div>
9274
</div>

0 commit comments

Comments
 (0)