mirror of
https://github.com/Raphire/Win11Debloat.git
synced 2026-07-02 22:58:34 +00:00
Refactor: ExecuteChanges to InvokeChanges, clean up for readability (#641)
This commit is contained in:
@@ -302,7 +302,7 @@ if (-not $script:WingetInstalled -and -not $Silent) {
|
||||
|
||||
# Features functions
|
||||
. "$PSScriptRoot/Scripts/Features/GetCurrentTweakState.ps1"
|
||||
. "$PSScriptRoot/Scripts/Features/ExecuteChanges.ps1"
|
||||
. "$PSScriptRoot/Scripts/Features/InvokeChanges.ps1"
|
||||
. "$PSScriptRoot/Scripts/Features/CreateSystemRestorePoint.ps1"
|
||||
. "$PSScriptRoot/Scripts/Features/BackupRegistryFeatureSelection.ps1"
|
||||
. "$PSScriptRoot/Scripts/Features/BackupRegistrySnapshotCapture.ps1"
|
||||
@@ -554,7 +554,7 @@ if (($controlParamsCount -eq $script:Params.Keys.Count) -or ($script:Params.Keys
|
||||
|
||||
# Execute all selected/provided parameters using the consolidated function
|
||||
# (This also handles restore point creation if requested)
|
||||
ExecuteAllChanges
|
||||
Invoke-AllChanges
|
||||
|
||||
RestartExplorer
|
||||
|
||||
|
||||
Reference in New Issue
Block a user