mirror of https://github.com/quasar/Quasar.git
Startup Manger Fix [Client]
Changed CurrentUser to LocalMachine As these values located in LocalMachine NOT CurrentUser
This commit is contained in:
parent
4e7c6a701c
commit
1faafaa814
|
@ -101,7 +101,7 @@ namespace xClient.Core.Commands
|
||||||
{
|
{
|
||||||
using (
|
using (
|
||||||
var key =
|
var key =
|
||||||
Registry.CurrentUser.OpenSubKey(
|
Registry.LocalMachine.OpenSubKey(
|
||||||
"SOFTWARE\\Wow6432Node\\Microsoft\\Windows\\CurrentVersion\\Run",
|
"SOFTWARE\\Wow6432Node\\Microsoft\\Windows\\CurrentVersion\\Run",
|
||||||
false))
|
false))
|
||||||
{
|
{
|
||||||
|
@ -113,7 +113,7 @@ namespace xClient.Core.Commands
|
||||||
}
|
}
|
||||||
using (
|
using (
|
||||||
var key =
|
var key =
|
||||||
Registry.CurrentUser.OpenSubKey(
|
Registry.LocalMachine.OpenSubKey(
|
||||||
"SOFTWARE\\Wow6432Node\\Microsoft\\Windows\\CurrentVersion\\RunOnce",
|
"SOFTWARE\\Wow6432Node\\Microsoft\\Windows\\CurrentVersion\\RunOnce",
|
||||||
false))
|
false))
|
||||||
{
|
{
|
||||||
|
@ -363,4 +363,4 @@ namespace xClient.Core.Commands
|
||||||
_shell.Dispose();
|
_shell.Dispose();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue