release/1.1.0
Dmitry Maksyoma 2 years ago
parent 1b7ebc2a96
commit 60cfd52bcf

@ -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 {
switch($value) { my $self = shift;
case 'true' {
my $valuesStr = '-hw3d ';
}
case 'false' {
my $valuesStr = ' ';
}
}
return $valuesStr; $self->configValue() eq 'true';
} }
}), }),
KasmVNC::CliOption->new({ KasmVNC::CliOption->new({

Loading…
Cancel
Save