fix(website): correct linux release asset links
This commit is contained in:
@@ -5,6 +5,9 @@ export const desktopVersion = websitePackage.version;
|
|||||||
export const releaseBase = `https://github.com/getpaseo/paseo/releases/download/v${desktopVersion}`;
|
export const releaseBase = `https://github.com/getpaseo/paseo/releases/download/v${desktopVersion}`;
|
||||||
export const macAppleSiliconDownloadUrl = `${releaseBase}/Paseo-${desktopVersion}-arm64.dmg`;
|
export const macAppleSiliconDownloadUrl = `${releaseBase}/Paseo-${desktopVersion}-arm64.dmg`;
|
||||||
export const macIntelDownloadUrl = `${releaseBase}/Paseo-${desktopVersion}-x64.dmg`;
|
export const macIntelDownloadUrl = `${releaseBase}/Paseo-${desktopVersion}-x64.dmg`;
|
||||||
|
export const linuxAppImageDownloadUrl = `${releaseBase}/Paseo-${desktopVersion}-x86_64.AppImage`;
|
||||||
|
export const linuxDebDownloadUrl = `${releaseBase}/Paseo-${desktopVersion}-amd64.deb`;
|
||||||
|
export const linuxRpmDownloadUrl = `${releaseBase}/Paseo-${desktopVersion}-x86_64.rpm`;
|
||||||
|
|
||||||
export const appStoreUrl = "https://apps.apple.com/app/paseo-pocket-engineer/id6758887924";
|
export const appStoreUrl = "https://apps.apple.com/app/paseo-pocket-engineer/id6758887924";
|
||||||
export const playStoreUrl = "https://play.google.com/store/apps/details?id=sh.paseo";
|
export const playStoreUrl = "https://play.google.com/store/apps/details?id=sh.paseo";
|
||||||
@@ -41,7 +44,7 @@ export const downloadOptions: DownloadOption[] = [
|
|||||||
{
|
{
|
||||||
platform: "linux",
|
platform: "linux",
|
||||||
label: "Linux",
|
label: "Linux",
|
||||||
href: `${releaseBase}/Paseo-${desktopVersion}.AppImage`,
|
href: linuxAppImageDownloadUrl,
|
||||||
icon: LinuxIcon,
|
icon: LinuxIcon,
|
||||||
},
|
},
|
||||||
];
|
];
|
||||||
|
|||||||
@@ -2,6 +2,9 @@ import { Link, createFileRoute } from "@tanstack/react-router";
|
|||||||
import { pageMeta } from "~/meta";
|
import { pageMeta } from "~/meta";
|
||||||
import {
|
import {
|
||||||
desktopVersion,
|
desktopVersion,
|
||||||
|
linuxAppImageDownloadUrl,
|
||||||
|
linuxDebDownloadUrl,
|
||||||
|
linuxRpmDownloadUrl,
|
||||||
releaseBase,
|
releaseBase,
|
||||||
macAppleSiliconDownloadUrl,
|
macAppleSiliconDownloadUrl,
|
||||||
macIntelDownloadUrl,
|
macIntelDownloadUrl,
|
||||||
@@ -134,17 +137,11 @@ function Download() {
|
|||||||
</div>
|
</div>
|
||||||
<div className="flex flex-wrap gap-2">
|
<div className="flex flex-wrap gap-2">
|
||||||
<DownloadPill
|
<DownloadPill
|
||||||
href={`${releaseBase}/Paseo-${desktopVersion}.AppImage`}
|
href={linuxAppImageDownloadUrl}
|
||||||
label="AppImage"
|
label="AppImage"
|
||||||
/>
|
/>
|
||||||
<DownloadPill
|
<DownloadPill href={linuxDebDownloadUrl} label="DEB" />
|
||||||
href={`${releaseBase}/paseo_${desktopVersion}_amd64.deb`}
|
<DownloadPill href={linuxRpmDownloadUrl} label="RPM" />
|
||||||
label="DEB"
|
|
||||||
/>
|
|
||||||
<DownloadPill
|
|
||||||
href={`${releaseBase}/paseo-${desktopVersion}-1.x86_64.rpm`}
|
|
||||||
label="RPM"
|
|
||||||
/>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user