mirror of
https://github.com/sourcegit-scm/sourcegit.git
synced 2024-11-01 13:13:21 -07:00
feature: add supports to deepin-terminal
This commit is contained in:
parent
8f70778ec2
commit
395bd29084
1 changed files with 5 additions and 1 deletions
|
@ -89,9 +89,13 @@ namespace SourceGit.Native
|
||||||
{
|
{
|
||||||
Process.Start("/usr/bin/xfce4-terminal", $"--working-directory=\"{dir}\"");
|
Process.Start("/usr/bin/xfce4-terminal", $"--working-directory=\"{dir}\"");
|
||||||
}
|
}
|
||||||
|
else if (File.Exists("/usr/bin/deepin-terminal"))
|
||||||
|
{
|
||||||
|
Process.Start("/usr/bin/deepin-terminal", $"--work-directory=\"{dir}\"");
|
||||||
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
App.RaiseException("", $"Only supports gnome-terminal/konsole/xfce4-terminal!");
|
App.RaiseException(dir, $"Only supports gnome-terminal/konsole/xfce4-terminal/deepin-terminal!");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue