mirror of
https://github.com/BluePointLilac/ContextMenuManager.git
synced 2026-01-14 06:04:00 +08:00
去除无用环境变量
This commit is contained in:
@@ -12,12 +12,7 @@ namespace BulePointLilac.Methods
|
||||
/// <summary>路径类型</summary>
|
||||
public enum PathType { File, Directory, Registry }
|
||||
|
||||
private static readonly List<string> EnvironmentDirectorys = new List<string> {
|
||||
@"%SystemRoot%\System32",
|
||||
@"%SystemRoot%",
|
||||
@"%SystemRoot%\System32\WindowsPowerShell\v1.0"
|
||||
};
|
||||
|
||||
private static readonly string[] EnvironmentDirectorys = { @"%SystemRoot%\System32", @"%SystemRoot%" };
|
||||
private const string RegAppPath = @"HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\App Paths";
|
||||
private const string RegLastPath = @"HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Applets\Regedit";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user