mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-05-22 12:45:00 +00:00
optimize<*>: remove Windows Terminal settings because it can be set outside in Windows Terminal
This commit is contained in:
parent
44ed55937d
commit
171f1d1d0c
5 changed files with 511 additions and 546 deletions
|
@ -86,18 +86,10 @@ namespace SourceGit.Views.Widgets {
|
|||
return;
|
||||
}
|
||||
|
||||
if (Models.Preference.Instance.General.UseWindowsTerminal) {
|
||||
Process.Start(new ProcessStartInfo {
|
||||
FileName = "wt",
|
||||
Arguments = $"\"{bash}\"",
|
||||
UseShellExecute = false,
|
||||
});
|
||||
} else {
|
||||
Process.Start(new ProcessStartInfo {
|
||||
FileName = bash,
|
||||
UseShellExecute = true,
|
||||
});
|
||||
}
|
||||
Process.Start(new ProcessStartInfo {
|
||||
FileName = bash,
|
||||
UseShellExecute = true,
|
||||
});
|
||||
|
||||
e.Handled = true;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue