Skip to content

Commit

Permalink
Forgot
Browse files Browse the repository at this point in the history
  • Loading branch information
KnifMelti committed Jan 23, 2023
1 parent 3c4d127 commit c19a819
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mods/_Mods-Functions.ps1
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ function Add-ModsReg ($AddKey, $AddValue, $AddTypeData, $AddType) {
}

function Remove-ModsReg ($DelKey, $DelValue) {
if ("$DelKey" -like "HKEY_LOCAL_MACHINE*") {
if ($DelKey -like "HKEY_LOCAL_MACHINE*") {
$DelKey = $DelKey.replace("HKEY_LOCAL_MACHINE","HKLM:")
}
if (Test-Path "$DelKey") {
Expand Down

0 comments on commit c19a819

Please sign in to comment.