Install shortcut to actual RetroArch executable

This commit is contained in:
Manuel Thalmann 2023-07-27 01:39:51 +02:00
parent da663a6526
commit f1c3c62469

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-Command retroarch).Source;
Install-ChocolateyShortcut -ShortcutFilePath "$((Get-KnownFolder "Common Programs").Path)/RetroArch.lnk" -TargetPath ((Get-Item "C:\tools\RetroArch-Win64\retroarch.exe").FullName);
}
}