mirror of
https://github.com/BluePointLilac/ContextMenuManager.git
synced 2026-01-14 06:04:00 +08:00
删除无效项目时不需重启explorer
This commit is contained in:
@@ -63,7 +63,7 @@ namespace ContextMenuManager.Controls
|
||||
public void DeleteMe()
|
||||
{
|
||||
Array.ForEach(BlockedPaths, path => { RegistryEx.DeleteValue(path, this.Value); });
|
||||
ExplorerRestarter.NeedRestart = true;
|
||||
if(!this.Guid.Equals(Guid.Empty)) ExplorerRestarter.NeedRestart = true;
|
||||
this.Dispose();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user