mirror of
https://github.com/xpipe-io/xpipe.git
synced 2024-11-25 00:50:31 +00:00
Fix fish exit
This commit is contained in:
parent
e808b18e45
commit
58fef0c182
2 changed files with 2 additions and 2 deletions
|
@ -130,7 +130,7 @@ public interface ShellDialect {
|
|||
|
||||
default void prepareCommandForShell(CommandBuilder b) {}
|
||||
|
||||
String prepareTerminalInitFileOpenCommand(ShellDialect parentDialect, ShellControl sc, String file);
|
||||
String prepareTerminalInitFileOpenCommand(ShellDialect parentDialect, ShellControl sc, String file, boolean exit);
|
||||
|
||||
String runScriptCommand(ShellControl parent, String file);
|
||||
|
||||
|
|
|
@ -97,7 +97,7 @@ public class DesktopEnvironmentStore extends JacksonizedValue
|
|||
var scriptFile = base.getStore().createScript(dialect, toExecute);
|
||||
var launchScriptFile = base.getStore()
|
||||
.createScript(
|
||||
dialect, dialect.prepareTerminalInitFileOpenCommand(dialect, null, scriptFile.toString()));
|
||||
dialect, dialect.prepareTerminalInitFileOpenCommand(dialect, null, scriptFile.toString(), false));
|
||||
var launchConfig = new ExternalTerminalType.LaunchConfiguration(null, name, name, launchScriptFile, dialect);
|
||||
base.getStore().runDesktopScript(name, launchCommand.apply(launchConfig));
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue