Update WgetQuickInstaller.tsx

small change to download automatically the proper OS version
This commit is contained in:
Michelle Zitzerman 2025-02-28 01:10:54 +02:00 committed by Owen Schwartz
parent 272c5c548a
commit a927168971

View file

@ -9,7 +9,7 @@ const WgetQuickInstall: React.FC = () => {
(async () => { (async () => {
const release = await fetchLatestRelease("fosrl/pangolin"); const release = await fetchLatestRelease("fosrl/pangolin");
setText( 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'
); );
})(); })();
}, []); }, []);