Skip to content

Commit

Permalink
Update store link (#188)
Browse files Browse the repository at this point in the history
  • Loading branch information
TheOnlyTails authored Mar 24, 2022
1 parent 7a21e66 commit aef3b03
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/layout/HeroSection/HeroSection.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
const getStoreUrl = () => isWindows
? `ms-windows-store://pdp/?ProductId=${ links.storeId }&mode=mini`
: `https://www.microsoft.com/en-us/p/files/${ links.storeId }`;
: `https://www.microsoft.com/store/apps/${ links.storeId }?cid=FilesWebsite`;
$: sideloadLink = `/download/${ currentDownloadSource !== "Sideload Package (Preview)" ? "stable" : "preview" }`;
$: downloadLink = currentDownloadSource === "Microsoft Store" ? getStoreUrl() : sideloadLink;
Expand Down

0 comments on commit aef3b03

Please sign in to comment.