[VMware Launcher 2.0.9.5]

- Refactored code.
- Fixed bug: "#1 Welcome message shows despite VMware not being installed"
This commit is contained in:
2021-03-26 20:20:46 +00:00
parent 1cbdbccf77
commit 6d7fec03b4
10 changed files with 79 additions and 83 deletions
+6 -6
View File
@@ -1,7 +1,4 @@
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Diagnostics;
using System.Diagnostics;
using System.IO;
using System.Linq;
@@ -10,8 +7,11 @@ namespace VMwareLauncher
public class ProcessControl
{
public readonly static string DefaultVmwareExe = "vmware";
public readonly static string DefaultVmwarePath = (string)Microsoft.Win32.Registry.GetValue(@"HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\VMware, Inc.\VMware Workstation", "InstallPath", null) + $"{DefaultVmwareExe}.exe";
public readonly static string DefaultVmlPath = "vmwarelauncher";
public readonly static string DefaultVmwarePath = (string) Microsoft.Win32.Registry.GetValue(
@"HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\VMware, Inc.\VMware Workstation",
"InstallPath", null) +
$"{DefaultVmwareExe}.exe";
public readonly static string DefaultVmLauncherPath = "vmwarelauncher";
public string ProcessName { get; set; }
public void StartProcess()