mirror of
https://github.com/fosrl/docs.git
synced 2025-05-13 05:40:41 +01:00
Update WgetQuickInstaller.tsx
small change to download automatically the proper OS version
This commit is contained in:
parent
272c5c548a
commit
a927168971
1 changed files with 1 additions and 1 deletions
|
@ -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'
|
||||
);
|
||||
})();
|
||||
}, []);
|
||||
|
|
Loading…
Reference in a new issue