fix: wrong path to find iTerm2

This commit is contained in:
leo 2024-08-20 20:55:41 +08:00
parent c1c1e1f0c8
commit 66b28621d1
No known key found for this signature in database

View file

@ -20,7 +20,7 @@ namespace SourceGit.Native
public MacOS() public MacOS()
{ {
_terminal = Directory.Exists("/Applications/iTerm2.app") ? TerminalType.iTerm2 : TerminalType.Terminal; _terminal = Directory.Exists("/Applications/iTerm.app") ? TerminalType.iTerm2 : TerminalType.Terminal;
} }
public void SetupApp(AppBuilder builder) public void SetupApp(AppBuilder builder)