summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoremkael <emkael@tlen.pl>2017-07-27 14:11:17 +0200
committeremkael <emkael@tlen.pl>2017-07-27 14:11:17 +0200
commit706d0a874b693252a4bab491226df876a819fb25 (patch)
tree91386f3d7bdee5f9700d9cb722024e4276642b4f
parente15b65add34b28e9c90ec816b018c29cc24d2557 (diff)
Launching BCS from detected location
-rw-r--r--Aktywator/MainForm.cs6
1 files changed, 6 insertions, 0 deletions
diff --git a/Aktywator/MainForm.cs b/Aktywator/MainForm.cs
index 8d8fb89..cfe2324 100644
--- a/Aktywator/MainForm.cs
+++ b/Aktywator/MainForm.cs
@@ -99,6 +99,12 @@ namespace Aktywator
&& !productName.Equals("Bridgemate Pro Control", StringComparison.OrdinalIgnoreCase))
continue;
+ string appPath = Convert.ToString(appKey.GetValue("InstallLocation"));
+ if (appPath != null)
+ {
+ Bws.setAppLocation(appPath);
+ }
+
string version = Convert.ToString(appKey.GetValue("DisplayVersion"));
return version;
}