diff --git a/website/src/pages/install/index.tsx b/website/src/pages/install/index.tsx index dd6504be..bff4adce 100644 --- a/website/src/pages/install/index.tsx +++ b/website/src/pages/install/index.tsx @@ -49,7 +49,7 @@ const Install: React.FC = () => { const generateInstallCommand = () => { let command = "bash <(curl -sSL https://openpanel.org)"; for (const [option, config] of Object.entries(installOptions)) { - if (option !== "version" || (option === "version" && config.value !== latestVersion)) { + if (option !== "version") { if (config.value || ["version", "hostname", "email", "screenshots", "docker-space", "post-install"].includes(option)) { if (option === "screenshots" && config.value === "local") { command += ` --screenshots=local`;