mirror of
https://github.com/xpipe-io/xpipe.git
synced 2024-11-25 00:50:31 +00:00
Avoid querying the local shell directly
This commit is contained in:
parent
3df16c22a4
commit
a9e00e8bc9
1 changed files with 2 additions and 1 deletions
|
@ -7,6 +7,7 @@ import io.xpipe.app.prefs.ExternalTerminalType;
|
|||
import io.xpipe.app.storage.DataStorage;
|
||||
import io.xpipe.app.storage.DataStoreEntry;
|
||||
import io.xpipe.core.process.ProcessControl;
|
||||
import io.xpipe.core.process.ProcessControlProvider;
|
||||
import io.xpipe.core.process.ShellControl;
|
||||
import io.xpipe.core.process.TerminalInitScriptConfig;
|
||||
|
||||
|
@ -46,7 +47,7 @@ public class TerminalLauncher {
|
|||
color != null);
|
||||
|
||||
var request = UUID.randomUUID();
|
||||
var d = LocalShell.getShell().getShellDialect();
|
||||
var d = ProcessControlProvider.get().getEffectiveLocalDialect();
|
||||
var launcherScript = d.terminalLauncherScript(request, adjustedTitle);
|
||||
var preparationScript = ScriptHelper.createLocalExecScript(launcherScript);
|
||||
var config = new ExternalTerminalType.LaunchConfiguration(
|
||||
|
|
Loading…
Reference in a new issue