Update index.tsx

This commit is contained in:
Stefan Pejcic 2024-06-01 15:53:45 +02:00 committed by GitHub
parent c8b7025c31
commit e0deaaa18f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -63,7 +63,7 @@ const Install: React.FC = () => {
if (option === "screenshots" && installOptions[option].value === "local") { if (option === "screenshots" && installOptions[option].value === "local") {
command += ` --screenshots=local`; command += ` --screenshots=local`;
} else { } else {
command += ` --${option.replace(/-/g, '_')}`; command += ` --${option}`;
if (installOptions[option].value !== true) { if (installOptions[option].value !== true) {
command += `=${installOptions[option].value}`; command += `=${installOptions[option].value}`;
} }