From 804a3620831920e6bc104f90ecda3bd15115ee67 Mon Sep 17 00:00:00 2001 From: AKHIL Date: Tue, 18 Aug 2026 11:51:04 +0530 Subject: [PATCH] Update release repo url --- apps/web/src/app/download/page.tsx | 4 ++-- apps/web/src/components/download-desktop-button.tsx | 7 +++++-- apps/web/src/components/footer.tsx | 2 +- 3 files changed, 8 insertions(+), 5 deletions(-) diff --git a/apps/web/src/app/download/page.tsx b/apps/web/src/app/download/page.tsx index 3a5d0094..03879455 100644 --- a/apps/web/src/app/download/page.tsx +++ b/apps/web/src/app/download/page.tsx @@ -2,7 +2,7 @@ import type { Metadata } from "next"; import { Header } from "@/components/header"; import { Footer } from "@/components/footer"; -import { DownloadDesktopButton } from "@/components/download-desktop-button"; +import { DownloadDesktopButton, RELEASES_URL } from "@/components/download-desktop-button"; const baseUrl = process.env.NEXT_PUBLIC_SITE_URL || "https://mydevtools.tech"; @@ -54,7 +54,7 @@ export default function DownloadPage() { Each release ships a .sha256 checksum on the{" "} diff --git a/apps/web/src/components/download-desktop-button.tsx b/apps/web/src/components/download-desktop-button.tsx index e1567538..3d0efff3 100644 --- a/apps/web/src/components/download-desktop-button.tsx +++ b/apps/web/src/components/download-desktop-button.tsx @@ -2,12 +2,15 @@ import { Download } from "lucide-react"; import { Button } from "@/components/ui/button"; +/** GitHub's permanent "latest release" page — releases live in the source repo. */ +export const RELEASES_URL = + "https://github.com/mydevtools-tech/mydevtools/releases/latest"; + /** * GitHub's permanent "latest release" redirect — always serves the newest DMG. * release-local.sh uploads a version-less MyDevTools.dmg to every release. */ -export const DMG_URL = - "https://github.com/mydevtools-tech/mydevtools/releases/latest/download/MyDevTools.dmg"; +export const DMG_URL = `${RELEASES_URL}/download/MyDevTools.dmg`; /** Minimal Apple logo (lucide has no Apple icon in this version). */ export function AppleGlyph({ className }: { className?: string }) { diff --git a/apps/web/src/components/footer.tsx b/apps/web/src/components/footer.tsx index ab344b18..cf0397de 100644 --- a/apps/web/src/components/footer.tsx +++ b/apps/web/src/components/footer.tsx @@ -6,7 +6,7 @@ import { motion, AnimatePresence, useReducedMotion } from "framer-motion"; import { ArrowUp } from "lucide-react"; import { Logo } from "./logo"; -/** Source repository — AGPL v3. Built releases live in mydevtools-releases. */ +/** Source repository — AGPL v3. Built releases ship on this repo's releases page. */ export const SOURCE_URL = "https://github.com/mydevtools-tech/mydevtools"; const footerLinks = [