mirror of
https://github.com/sourcegit-scm/sourcegit.git
synced 2024-12-24 20:57:19 -08:00
optimize<Dashboard>: fix wt.exe not startup in given working directory
This commit is contained in:
parent
e2d34cc01a
commit
4a676e094d
2 changed files with 2 additions and 2 deletions
|
@ -363,7 +363,7 @@
|
||||||
<sys:String x:Key="Text.Preference.AutoFetch">Fetch remotes automatically (need restart)</sys:String>
|
<sys:String x:Key="Text.Preference.AutoFetch">Fetch remotes automatically (need restart)</sys:String>
|
||||||
<sys:String x:Key="Text.Preference.RestoreTabs">Restore windows</sys:String>
|
<sys:String x:Key="Text.Preference.RestoreTabs">Restore windows</sys:String>
|
||||||
<sys:String x:Key="Text.Preference.EnableCrashReport">Enable crash report (maybe include related path)</sys:String>
|
<sys:String x:Key="Text.Preference.EnableCrashReport">Enable crash report (maybe include related path)</sys:String>
|
||||||
<sys:String x:Key="Text.Preference.UseWindowsTerminal">Use Windows Terminal to open Git terminal</sys:String>
|
<sys:String x:Key="Text.Preference.UseWindowsTerminal">Use Windows Terminal instead of cmd.exe</sys:String>
|
||||||
<sys:String x:Key="Text.Preference.Git">GIT SETTING</sys:String>
|
<sys:String x:Key="Text.Preference.Git">GIT SETTING</sys:String>
|
||||||
<sys:String x:Key="Text.Preference.Git.Path">Install Path</sys:String>
|
<sys:String x:Key="Text.Preference.Git.Path">Install Path</sys:String>
|
||||||
<sys:String x:Key="Text.Preference.Git.Path.Placeholder">Input path for git.exe</sys:String>
|
<sys:String x:Key="Text.Preference.Git.Path.Placeholder">Input path for git.exe</sys:String>
|
||||||
|
|
|
@ -320,7 +320,7 @@ namespace SourceGit.Views.Widgets {
|
||||||
Process.Start(new ProcessStartInfo {
|
Process.Start(new ProcessStartInfo {
|
||||||
WorkingDirectory = repo.Path,
|
WorkingDirectory = repo.Path,
|
||||||
FileName = "wt",
|
FileName = "wt",
|
||||||
Arguments = bash,
|
Arguments = $"-d \"{repo.Path}\" \"{bash}\"",
|
||||||
UseShellExecute = false,
|
UseShellExecute = false,
|
||||||
});
|
});
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in a new issue