This commit is contained in:
Dmitry Maksyoma 2023-02-28 23:31:00 +13:00
parent 1b7ebc2a96
commit 60cfd52bcf

View File

@ -2250,20 +2250,13 @@ sub DefineConfigToCLIConversion {
type => KasmVNC::ConfigKey::BOOLEAN type => KasmVNC::ConfigKey::BOOLEAN
}) })
], ],
toStringSub => sub { deriveValueSub => sub {
$self = shift; undef;
my $value = $self->configValue(); },
isActiveSub => sub {
my $self = shift;
switch($value) { $self->configValue() eq 'true';
case 'true' {
my $valuesStr = '-hw3d ';
}
case 'false' {
my $valuesStr = ' ';
}
}
return $valuesStr;
} }
}), }),
KasmVNC::CliOption->new({ KasmVNC::CliOption->new({