mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-05-22 04:34:59 +00:00
refactor: load external tool's icon on startup
This commit is contained in:
parent
0da067caa3
commit
a976f007f5
3 changed files with 25 additions and 43 deletions
|
@ -41,8 +41,6 @@ namespace SourceGit.Native
|
|||
{
|
||||
throw new Exception("Platform unsupported!!!");
|
||||
}
|
||||
|
||||
ExternalTools = _backend.FindExternalTools();
|
||||
}
|
||||
|
||||
public static Models.Shell GetShell()
|
||||
|
@ -77,6 +75,11 @@ namespace SourceGit.Native
|
|||
_backend.SetupApp(builder);
|
||||
}
|
||||
|
||||
public static void SetupEnternalTools()
|
||||
{
|
||||
ExternalTools = _backend.FindExternalTools();
|
||||
}
|
||||
|
||||
public static string FindGitExecutable()
|
||||
{
|
||||
return _backend.FindGitExecutable();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue