Update index.tsx

This commit is contained in:
Stefan Pejcic
2025-02-18 20:10:44 +01:00
committed by GitHub
parent baaa6664ec
commit 8cf23ca3c2

View File

@@ -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`;