diff --git a/libexec/scoop-install.ps1 b/libexec/scoop-install.ps1 index 303bd47de7..06ba64728d 100644 --- a/libexec/scoop-install.ps1 +++ b/libexec/scoop-install.ps1 @@ -34,6 +34,9 @@ reset_aliases function is_installed($app, $global) { + if($app.EndsWith('.json')) { + $app = [System.IO.Path]::GetFileNameWithoutExtension($app) + } if(installed $app $global) { function gf($g) { if($g) { ' --global' } }