Reuse existent variable

This commit is contained in:
Manuel Thalmann 2023-07-27 01:41:30 +02:00
parent f1c3c62469
commit a760b08537

View file

@ -30,6 +30,6 @@ $null = New-Module {
"/Saved Games/RetroArch/System");
Write-Information "Creating a Start Menu Icon";
Install-ChocolateyShortcut -ShortcutFilePath "$((Get-KnownFolder "Common Programs").Path)/RetroArch.lnk" -TargetPath ((Get-Item "C:\tools\RetroArch-Win64\retroarch.exe").FullName);
Install-ChocolateyShortcut -ShortcutFilePath "$((Get-KnownFolder "Common Programs").Path)/RetroArch.lnk" -TargetPath ((Get-Item "$path\retroarch.exe").FullName);
}
}