Fix broken regedit paths

This commit is contained in:
Manuel Thalmann 2024-08-19 01:38:25 +02:00
parent 5b86da8697
commit 0c68b92380

View file

@ -26,7 +26,7 @@ $null = New-Module {
[string] $path = $null; [string] $path = $null;
if ($UserKey) { if ($UserKey) {
$path = "$($UserKey.PSPath)\$runOncePath"; $path = Join-Path ($UserKey.PSPath) $runOncePath;
} else { } else {
$path = $systemRunOncePath; $path = $systemRunOncePath;
} }