fix(website): correct linux release asset links

This commit is contained in:
Mohamed Boudra
2026-03-26 09:17:49 +07:00
parent 00e172798b
commit 46d7512cc4
2 changed files with 10 additions and 10 deletions

View File

@@ -5,6 +5,9 @@ export const desktopVersion = websitePackage.version;
export const releaseBase = `https://github.com/getpaseo/paseo/releases/download/v${desktopVersion}`;
export const macAppleSiliconDownloadUrl = `${releaseBase}/Paseo-${desktopVersion}-arm64.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 playStoreUrl = "https://play.google.com/store/apps/details?id=sh.paseo";
@@ -41,7 +44,7 @@ export const downloadOptions: DownloadOption[] = [
{
platform: "linux",
label: "Linux",
href: `${releaseBase}/Paseo-${desktopVersion}.AppImage`,
href: linuxAppImageDownloadUrl,
icon: LinuxIcon,
},
];

View File

@@ -2,6 +2,9 @@ import { Link, createFileRoute } from "@tanstack/react-router";
import { pageMeta } from "~/meta";
import {
desktopVersion,
linuxAppImageDownloadUrl,
linuxDebDownloadUrl,
linuxRpmDownloadUrl,
releaseBase,
macAppleSiliconDownloadUrl,
macIntelDownloadUrl,
@@ -134,17 +137,11 @@ function Download() {
</div>
<div className="flex flex-wrap gap-2">
<DownloadPill
href={`${releaseBase}/Paseo-${desktopVersion}.AppImage`}
href={linuxAppImageDownloadUrl}
label="AppImage"
/>
<DownloadPill
href={`${releaseBase}/paseo_${desktopVersion}_amd64.deb`}
label="DEB"
/>
<DownloadPill
href={`${releaseBase}/paseo-${desktopVersion}-1.x86_64.rpm`}
label="RPM"
/>
<DownloadPill href={linuxDebDownloadUrl} label="DEB" />
<DownloadPill href={linuxRpmDownloadUrl} label="RPM" />
</div>
</div>
</div>