Install shortcut to actual RetroArch executable

This commit is contained in:
Manuel Thalmann 2023-07-27 01:39:51 +02:00
parent b78da81005
commit 5f1d7bf1b1

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);
}
}