summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Aktywator/Bws.cs9
1 files changed, 8 insertions, 1 deletions
diff --git a/Aktywator/Bws.cs b/Aktywator/Bws.cs
index 335bc11..5d6e063 100644
--- a/Aktywator/Bws.cs
+++ b/Aktywator/Bws.cs
@@ -21,6 +21,7 @@ namespace Aktywator
public List<Setting> settings;
private MainForm main;
public bool settingsChanged = false;
+ private static string applicationPath = Common.ProgramFilesx86() + "\\Bridgemate Pro\\";
public Bws(string filename, MainForm main)
{
@@ -137,9 +138,15 @@ namespace Aktywator
return this.getSectionList("HandRecord");
}
+
+ internal static void setAppLocation(string appPath)
+ {
+ applicationPath = appPath;
+ }
+
public void runBCS()
{
- string app = Common.ProgramFilesx86() + "\\Bridgemate Pro\\BMPro.exe";
+ string app = applicationPath + "BMPro.exe";
string param = "";
param += " /f[" + filename + " ]";
param += " /s";