Fix tabby terminal not launching on macOS

This commit is contained in:
crschnick 2023-07-08 10:52:34 +00:00
parent db4c0775b3
commit f3a905a7fe

View file

@ -410,7 +410,7 @@ public interface ExternalTerminalType extends PrefsChoiceValue {
@Override @Override
public void launch(String name, String file, boolean elevated) throws Exception { public void launch(String name, String file, boolean elevated) throws Exception {
try (ShellControl pc = LocalStore.getShell()) { try (ShellControl pc = LocalStore.getShell()) {
pc.osascriptCommand(String.format( pc.command(String.format(
""" """
%s/Contents/MacOS/Tabby run %s %s/Contents/MacOS/Tabby run %s
""", """,