rebase and fix conflicts
This commit is contained in:
@@ -2243,6 +2243,39 @@ sub DefineConfigToCLIConversion {
|
||||
isPresent($value) && $value ne 'auto';
|
||||
}
|
||||
}),
|
||||
KasmVNC::CliOption->new({
|
||||
name => 'hw3d',
|
||||
configKeys => [
|
||||
KasmVNC::ConfigKey->new({
|
||||
name => "desktop.gpu.hw3d",
|
||||
type => KasmVNC::ConfigKey::BOOLEAN
|
||||
})
|
||||
],
|
||||
toStringSub => sub {
|
||||
$self = shift;
|
||||
my $value = $self->configValue();
|
||||
|
||||
switch($value) {
|
||||
case 'true' {
|
||||
$valuesStr = '-hw3d ';
|
||||
}
|
||||
case 'false' {
|
||||
$valuesStr = ' ';
|
||||
}
|
||||
}
|
||||
|
||||
return $valuesStr;
|
||||
}
|
||||
}),
|
||||
KasmVNC::CliOption->new({
|
||||
name => 'drinode',
|
||||
configKeys => [
|
||||
KasmVNC::ConfigKey->new({
|
||||
name => "desktop.gpu.drinode",
|
||||
type => KasmVNC::ConfigKey::ANY
|
||||
})
|
||||
]
|
||||
}),
|
||||
);
|
||||
|
||||
%cliArgMap = map { ("-" . $_->{name}) => $_ } @xvncOptions;
|
||||
|
||||
Reference in New Issue
Block a user