Skip to content

Commit

Permalink
Update Install.ps1
Browse files Browse the repository at this point in the history
  • Loading branch information
emadadel4 committed Oct 17, 2024
1 parent 3cb5cf4 commit 9ba10b7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Scripts/Install/Install.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -197,11 +197,11 @@ function Invoke-Apply {
"Registry" {
$tweak.Modify | ForEach-Object {
Set-Registry -Name $_.Name -Type $_.Type -Path $_.Path -Value $_.Value
if($debug){-Name $_.Name -Type $_.Type -Path $_.Path -Value $_.Value}
if($debug){Write-Host -Name $_.Name -Type $_.Type -Path $_.Path -Value $_.Value}
}
$tweak.Delete | ForEach-Object {
Remove-Registry -RegistryPath $_.Path -Folder $_.Name
if($debug){$_.Path -Folder $_.Name}
if($debug){Write-Host $_.Path -Folder $_.Name}
}
if($tweak.Refresh -eq "true")
{
Expand Down

0 comments on commit 9ba10b7

Please sign in to comment.