mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-06-26 04:44:59 +00:00
fix: path trimming and spell issue.
This commit is contained in:
parent
421127bec9
commit
daaa7cfd6a
2 changed files with 2 additions and 2 deletions
|
@ -44,7 +44,7 @@ namespace SourceGit.Models
|
|||
|
||||
public void Konsole(Func<string> platform_finder)
|
||||
{
|
||||
TryAdd("gnome-terminal", "gnome.png", "/usr/bin/konsole", "--workdir \"{0}\"", platform_finder);
|
||||
TryAdd("gnome-terminal", "konsole.png", "/usr/bin/konsole", "--workdir \"{0}\"", platform_finder);
|
||||
}
|
||||
|
||||
public void osaScript(Func<string> platform_finder)
|
||||
|
|
|
@ -157,7 +157,7 @@ namespace SourceGit.Native
|
|||
})!;
|
||||
var fullPath = process.StandardOutput.ReadToEnd();
|
||||
process.WaitForExit();
|
||||
return fullPath;
|
||||
return fullPath.Trim();
|
||||
}
|
||||
|
||||
public void OpenTerminal(string workdir)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue