Use ` because of the JS string interpolation

This commit is contained in:
Owen 2025-02-27 19:12:13 -05:00 committed by Owen Schwartz
parent a927168971
commit f9b45ffa61

View file

@ -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_$(uname -m | sed 's/x86_64/amd64/;s/aarch64/arm64/')" && 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`
);
})();
}, []);