Skip to content
Permalink
Browse files

pkgmgr: Fix games list not being updated after game install

Fixes #8074
  • Loading branch information...
rubenwardy committed Jan 9, 2019
1 parent 630c0ea commit 4b04268304a2f798cea110415f360c165395b4fb
Showing with 5 additions and 1 deletion.
  1. +5 −1 builtin/mainmenu/pkgmgr.lua
@@ -505,7 +505,11 @@ function pkgmgr.install_dir(type, path, basename, targetpath)
fgettext("Failed to install $1 to $2", basename, targetpath)
end

pkgmgr.refresh_globals()
if basefolder.type == "game" then
pkgmgr.update_gamelist()
else
pkgmgr.refresh_globals()
end

return targetpath, nil
end

0 comments on commit 4b04268

Please sign in to comment.
You can’t perform that action at this time.