mirror of
https://github.com/Nathanwoodburn/FireWallet.git
synced 2024-11-24 08:08:14 +11:00
main: Don't install HSD if custom path specified
This commit is contained in:
parent
a8f425434e
commit
2572b17898
@ -191,6 +191,11 @@ namespace FireWallet
|
||||
AddLog("Starting HSD");
|
||||
toolStripStatusLabelstatus.Text = "Status: HSD Starting";
|
||||
|
||||
string hsdPath = dir + "hsd\\bin\\hsd.exe";
|
||||
if (nodeSettings.ContainsKey("HSD-command"))
|
||||
{
|
||||
if (nodeSettings["HSD-command"].Contains("{default-dir}"))
|
||||
{
|
||||
if (!Directory.Exists(dir + "hsd"))
|
||||
{
|
||||
NotifyForm Notifyinstall = new NotifyForm("Installing hsd\nThis may take a few minutes\nDo not close FireWallet", false);
|
||||
@ -211,6 +216,10 @@ namespace FireWallet
|
||||
this.Close();
|
||||
return false;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
hsdProcess = new Process();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user