"use client"; import { useSyncExternalStore } from "react"; import { Button } from "@/components/ui/button"; import { X } from "lucide-react"; import { closeDownloadDialog, getDownloadDialogState, subscribeDownloadDialog } from "@/components/providers/download-dialog-store"; import Link from "next/link"; export function DownloadDialog() { const state = useSyncExternalStore( subscribeDownloadDialog, getDownloadDialogState, getDownloadDialogState ); const isLinux = typeof window !== "undefined" && navigator.userAgent.includes("Linux"); const downloadUrl = state.url ?? "https://www.roblox.com/download/client"; if (!state.isOpen) return null; return (
Unfortunately, Roblox does not support Linux natively. The only way to play Roblox on Linux as of now is through{" "} Sober .
) : (Just follow the steps below to install Roblox. The download should start in a few seconds. If it doesn't,{" "} restart the download .
)}Install Instructions
flatpak remote-add
--if-not-exists flathub
https://flathub.org/repo/flathub.flatpakrepo
flatpak install flathub
org.vinegarhq.Sober
flatpak run
org.vinegarhq.Sober