diff --git a/LibreHardwareMonitor/Resources/Web/index.html b/LibreHardwareMonitor/Resources/Web/index.html
index c4be82c..34cbc65 100644
--- a/LibreHardwareMonitor/Resources/Web/index.html
+++ b/LibreHardwareMonitor/Resources/Web/index.html
@@ -6,7 +6,7 @@
- Open Hardware Monitor - Web Version
+ Libre Hardware Monitor - Web Version
diff --git a/LibreHardwareMonitor/UI/MainForm.cs b/LibreHardwareMonitor/UI/MainForm.cs
index 704f028..6fc95b4 100644
--- a/LibreHardwareMonitor/UI/MainForm.cs
+++ b/LibreHardwareMonitor/UI/MainForm.cs
@@ -64,7 +64,7 @@ namespace LibreHardwareMonitor.UI
{
InitializeComponent();
- // check if the OpenHardwareMonitorLib assembly has the correct version
+ // check if the LibreHardwareMonitorLib assembly has the correct version
if (Assembly.GetAssembly(typeof(Computer)).GetName().Version != Assembly.GetExecutingAssembly().GetName().Version)
{
MessageBox.Show("The version of the file LibreHardwareMonitorLib.dll is incompatible.",
diff --git a/LibreHardwareMonitor/UI/ShowDesktop.cs b/LibreHardwareMonitor/UI/ShowDesktop.cs
index 48338df..867e998 100644
--- a/LibreHardwareMonitor/UI/ShowDesktop.cs
+++ b/LibreHardwareMonitor/UI/ShowDesktop.cs
@@ -15,7 +15,7 @@ namespace LibreHardwareMonitor.UI
private event ShowDesktopChangedEventHandler ShowDesktopChangedEvent;
private readonly System.Threading.Timer _timer;
private bool _showDesktop;
- private readonly string _referenceWindowCaption = "OpenHardwareMonitorShowDesktopReferenceWindow";
+ private readonly string _referenceWindowCaption = "LibreHardwareMonitorShowDesktopReferenceWindow";
private ShowDesktop()
{
diff --git a/LibreHardwareMonitor/UI/StartupManager.cs b/LibreHardwareMonitor/UI/StartupManager.cs
index 67ebc09..41332c6 100644
--- a/LibreHardwareMonitor/UI/StartupManager.cs
+++ b/LibreHardwareMonitor/UI/StartupManager.cs
@@ -4,6 +4,7 @@
// All Rights Reserved
using System;
+using System.IO;
using System.Linq;
using System.Security;
using System.Security.Principal;
@@ -150,8 +151,8 @@ namespace LibreHardwareMonitor.UI
taskDefinition.Principal.RunLevel = TaskRunLevel.Highest;
taskDefinition.Principal.LogonType = TaskLogonType.InteractiveToken;
-
- taskDefinition.Actions.Add(Application.ExecutablePath, "", Application.ExecutablePath);
+
+ taskDefinition.Actions.Add(new ExecAction(Application.ExecutablePath, "", Path.GetDirectoryName(Application.ExecutablePath)));
TaskService.Instance.RootFolder.RegisterTaskDefinition(nameof(LibreHardwareMonitor), taskDefinition);
}
diff --git a/LibreHardwareMonitor/UI/SystemTray.cs b/LibreHardwareMonitor/UI/SystemTray.cs
index 2fd1e73..0466fbf 100644
--- a/LibreHardwareMonitor/UI/SystemTray.cs
+++ b/LibreHardwareMonitor/UI/SystemTray.cs
@@ -50,7 +50,7 @@ namespace LibreHardwareMonitor.UI
SendHideShowCommand();
};
_mainIcon.Icon = EmbeddedResources.GetIcon("smallicon.ico");
- _mainIcon.Text = "Open Hardware Monitor";
+ _mainIcon.Text = "Libre Hardware Monitor";
}
private void HardwareRemoved(IHardware hardware)