mirror of
https://github.com/Raphire/Win11Debloat.git
synced 2026-08-23 08:02:07 +00:00
refactor: rename NoRestartExplorer parameter to SkipExplorerRestart (#709)
The old `NoRestartExplorer` parameter is kept as an alias and will continue to work, but is considered deprecated
This commit is contained in:
@@ -12,8 +12,8 @@ function Invoke-RestartExplorer {
|
||||
}
|
||||
|
||||
Write-Host "> Attempting to restart the Windows Explorer process to apply all changes..."
|
||||
|
||||
if ($script:Params.ContainsKey("NoRestartExplorer")) {
|
||||
|
||||
if ($script:Params.ContainsKey('SkipExplorerRestart')) {
|
||||
Write-Host "Explorer process restart was skipped, please manually reboot your PC to apply all changes" -ForegroundColor Yellow
|
||||
return
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user