[VMware Launcher 2.0.9.5]
- Refactored code. - Fixed bug: "#1 Welcome message shows despite VMware not being installed"
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user