diff --git a/src/components/download.tsx b/src/components/download.tsx index fd7d314..bb293e2 100644 --- a/src/components/download.tsx +++ b/src/components/download.tsx @@ -190,7 +190,10 @@ export default function DownloadPage() { }; const linuxAppimageBashScript = - 'bash <(curl https://updates.zen-browser.app/appimage.sh)'; + "bash <(curl https://updates.zen-browser.app/appimage.sh)"; + + const linuxFlatpakScript = + "flatpak install flathub io.github.zen_browser.zen"; return ( <> @@ -241,15 +244,32 @@ export default function DownloadPage() { If you're using an AppImage, you can use the automatic installer, check it out{" "}
-+{linuxAppimageBashScript})} + {selectedLinuxDownloadType === "flatpak" && ( + ++ )} )) || ( <> @@ -533,7 +553,7 @@ export default function DownloadPage() { "mb-2 ml-5 flex h-full w-full cursor-pointer select-none flex-col items-center rounded-lg border bg-background p-5", selectedLinuxDownloadType === "flatpak" ? "border-blue-400" - : "" + : "", )} >+++ Flatpak users?
++ If you're using Flatpak, you can install Zen Browser with + the following command +
++ {linuxFlatpakScript} +++