From a927168971496b416ac5403b6ae8cecac243d179 Mon Sep 17 00:00:00 2001 From: Michelle Zitzerman <45917431+Sinofage@users.noreply.github.com> Date: Fri, 28 Feb 2025 01:10:54 +0200 Subject: [PATCH] Update WgetQuickInstaller.tsx small change to download automatically the proper OS version --- packages/docusaurus/src/components/WgetQuickInstaller.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/docusaurus/src/components/WgetQuickInstaller.tsx b/packages/docusaurus/src/components/WgetQuickInstaller.tsx index fff4263..145b9f4 100644 --- a/packages/docusaurus/src/components/WgetQuickInstaller.tsx +++ b/packages/docusaurus/src/components/WgetQuickInstaller.tsx @@ -9,7 +9,7 @@ const WgetQuickInstall: React.FC = () => { (async () => { const release = await fetchLatestRelease("fosrl/pangolin"); setText( - `wget -O installer "https://github.com/fosrl/pangolin/releases/download/${release}/installer_linux_amd64" && chmod +x ./installer` + 'wget -O installer "https://github.com/fosrl/pangolin/releases/download/${release}/installer_linux_$(uname -m | sed 's/x86_64/amd64/;s/aarch64/arm64/')" && chmod +x ./installer' ); })(); }, []);