From a760b085370ecd4376631711c1531ccf59e2a658 Mon Sep 17 00:00:00 2001 From: Manuel Thalmann Date: Thu, 27 Jul 2023 01:41:30 +0200 Subject: [PATCH] Reuse existent variable --- scripts/Windows/Software/RetroArch/Manage.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/Windows/Software/RetroArch/Manage.ps1 b/scripts/Windows/Software/RetroArch/Manage.ps1 index 732ddac2e..6bd9af8c2 100644 --- a/scripts/Windows/Software/RetroArch/Manage.ps1 +++ b/scripts/Windows/Software/RetroArch/Manage.ps1 @@ -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); } }