diff --git a/src/components/download/DownloadScript.astro b/src/components/download/DownloadScript.astro index a21d86b4..b3d57db9 100644 --- a/src/components/download/DownloadScript.astro +++ b/src/components/download/DownloadScript.astro @@ -74,6 +74,10 @@ const twilightInfoElem = document.getElementById('twilight-info') twilightInfoElem?.setAttribute('data-twilight', 'true') + // Hide Flathub button + const flathubButtonElem = document.getElementById('download-from-flathub'); + flathubButtonElem?.classList.add('hidden'); + // Update UI to show twilight mode with animation const titleElem = document.getElementById('download-title') if (titleElem) { diff --git a/src/components/download/PlatformDownload.astro b/src/components/download/PlatformDownload.astro index c974fa5d..5d2df13a 100644 --- a/src/components/download/PlatformDownload.astro +++ b/src/components/download/PlatformDownload.astro @@ -78,6 +78,7 @@ function getReleaseLink(releases: PlatformReleases, { os, cpu }: { os: string; c { platform === 'linux' && (