Fix incorrect file name

This commit is contained in:
Manuel Thalmann 2023-07-18 23:50:27 +02:00
parent 70a757cdcb
commit b2c3c10f33

View file

@ -56,7 +56,7 @@ $newLayout = $startLayout[$originalProperty] | Where-Object {
$startLayout.PSObject.Properties.Remove($originalProperty);
$startLayout | Add-Member -NotePropertyName "primaryOEMPins" -NotePropertyValue $newLayout;
$startLayout | ConvertTo-Json -Compress | Set-Content "$env:SystemDrive\Users\Default\AppData\Local\Microsoft\Windows\Shell";
$startLayout | ConvertTo-Json -Compress | Set-Content "$env:SystemDrive\Users\Default\AppData\Local\Microsoft\Windows\Shell\LayoutModification.json";
Pop-Location;
Remove-Item -Recurse "$tempDir";