Fix broken regedit paths

This commit is contained in:
Manuel Thalmann 2024-08-19 01:38:25 +02:00
parent 37268e0e76
commit 0bf8652b03

View file

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