mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-05-20 19:55:00 +00:00
refactor: rewrite external editor supports
* supported editors can be different on different platforms. * display founded editors only
This commit is contained in:
parent
bcb83af576
commit
111bf2966a
20 changed files with 417 additions and 220 deletions
|
@ -189,12 +189,12 @@ namespace SourceGit.ViewModels
|
|||
|
||||
public string GitInstallPath
|
||||
{
|
||||
get => Native.OS.GitInstallPath;
|
||||
get => Native.OS.GitExecutable;
|
||||
set
|
||||
{
|
||||
if (Native.OS.GitInstallPath != value)
|
||||
if (Native.OS.GitExecutable != value)
|
||||
{
|
||||
Native.OS.GitInstallPath = value;
|
||||
Native.OS.GitExecutable = value;
|
||||
OnPropertyChanged(nameof(GitInstallPath));
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue