mirror of
https://github.com/xpipe-io/xpipe.git
synced 2024-11-21 23:20:23 +00:00
Fixes
This commit is contained in:
parent
b43a3d6489
commit
363cb80f88
5 changed files with 6 additions and 9 deletions
|
@ -55,7 +55,7 @@ public class AppProperties {
|
|||
.orElse(UUID.randomUUID());
|
||||
sentryUrl = System.getProperty("io.xpipe.app.sentryUrl");
|
||||
arch = System.getProperty("io.xpipe.app.arch");
|
||||
languages = Arrays.asList(System.getProperty("io.xpipe.app.languages").split(";"));
|
||||
languages = Arrays.stream(System.getProperty("io.xpipe.app.languages").split(";")).sorted().toList();
|
||||
staging = XPipeInstallation.isStaging();
|
||||
useVirtualThreads = Optional.ofNullable(System.getProperty("io.xpipe.app.useVirtualThreads"))
|
||||
.map(Boolean::parseBoolean)
|
||||
|
|
|
@ -53,7 +53,6 @@ public class ChoiceComp<T> extends Comp<CompStructure<ComboBox<T>>> {
|
|||
@Override
|
||||
public CompStructure<ComboBox<T>> createBase() {
|
||||
var cb = new ComboBox<T>();
|
||||
cb.setMaxWidth(2000);
|
||||
cb.setConverter(new StringConverter<>() {
|
||||
@Override
|
||||
public String toString(T object) {
|
||||
|
|
|
@ -74,8 +74,7 @@ public class DesktopCommandStoreProvider implements DataStoreProvider {
|
|||
entry,
|
||||
env,
|
||||
DesktopEnvironmentStore.class,
|
||||
desktopStoreDataStoreEntryRef ->
|
||||
desktopStoreDataStoreEntryRef.getStore().supportsDesktopAccess(),
|
||||
desktopStoreDataStoreEntryRef -> desktopStoreDataStoreEntryRef.getStore().supportsDesktopAccess(),
|
||||
StoreViewState.get().getAllConnectionsCategory()),
|
||||
env)
|
||||
.nonNull()
|
||||
|
|
|
@ -127,8 +127,7 @@ public class DesktopEnvironmentStoreProvider implements DataStoreProvider {
|
|||
.nonNull()
|
||||
.nameAndDescription("desktopTerminal")
|
||||
.addComp(
|
||||
ChoiceComp.ofTranslatable(
|
||||
terminal, ExternalTerminalType.getTypes(st.getUsedOsType(), true, false), true),
|
||||
ChoiceComp.ofTranslatable(terminal, ExternalTerminalType.getTypes(st.getUsedOsType(), true, false), true).maxWidth(2000),
|
||||
terminal)
|
||||
.nonNull()
|
||||
.nameAndDescription("desktopShellDialect")
|
||||
|
|
|
@ -107,7 +107,7 @@ file=File
|
|||
directory=Directory
|
||||
symbolicLink=Symbolic link
|
||||
desktopEnvironment.displayName=Desktop environment
|
||||
desktopEnvironment.displayDescription=Create a reusable desktop environment configuration
|
||||
desktopEnvironment.displayDescription=Create a reusable remote desktop environment configuration
|
||||
desktopHost=Desktop host
|
||||
desktopHostDescription=The desktop connection to use as a base
|
||||
desktopShellDialect=Shell dialect
|
||||
|
@ -119,7 +119,7 @@ desktopInitScriptDescription=Init commands specific to this environment
|
|||
desktopTerminal=Terminal application
|
||||
desktopTerminalDescription=The terminal to use on the desktop to start scripts in
|
||||
desktopApplication.displayName=Desktop application
|
||||
desktopApplication.displayDescription=Run an application on a desktop
|
||||
desktopApplication.displayDescription=Run an application on a remote desktop
|
||||
desktopBase=Desktop
|
||||
desktopBaseDescription=The desktop to run this application on
|
||||
desktopEnvironmentBase=Desktop environment
|
||||
|
@ -129,7 +129,7 @@ desktopApplicationPathDescription=The path of the executable to run
|
|||
desktopApplicationArguments=Arguments
|
||||
desktopApplicationArgumentsDescription=The optional arguments to pass to the application
|
||||
desktopCommand.displayName=Desktop command
|
||||
desktopCommand.displayDescription=Run a command in a desktop environment
|
||||
desktopCommand.displayDescription=Run a command in a remote desktop environment
|
||||
desktopCommandScript=Commands
|
||||
desktopCommandScriptDescription=The commands to run in the environment
|
||||
|
||||
|
|
Loading…
Reference in a new issue