Skip to content

Commit

Permalink
[FIX] Installing the Quicklauncher plugin
Browse files Browse the repository at this point in the history
Fixed error when installing the Quicklauncher plugin
  • Loading branch information
ONElua committed Jul 23, 2023
1 parent a63ca1c commit c4ba524
Showing 1 changed file with 10 additions and 7 deletions.
17 changes: 10 additions & 7 deletions AUTOPLUG2/scripts/psvita/info.lua
Expand Up @@ -310,14 +310,17 @@ function plugin_info(obj)
if buttonskey then buttonskey:blitsprite(10,515,saccept) end
if obj.path == "QuickMenuReborn.suprx" and obj.configpath then
idx = tai.find(obj.section,obj.path)


if files.exists(tai.gameid[ obj.section ].prx[idx].path) and files.exists(obj.configpath..obj.config) then
screen.print(45,518,LANGUAGE["MENU_REINSTALL_INFO"],1,color.white,color.blue, __ALEFT)
elseif files.exists(tai.gameid[ obj.section ].prx[idx].path) and not files.exists(obj.configpath..obj.config) then
screen.print(45,518,LANGUAGE["MENU_INSTALL_INFO"],1,color.white,color.blue, __ALEFT)

if not idx then screen.print(45,518,LANGUAGE["MENU_INSTALL_INFO"],1,color.white,color.blue, __ALEFT)
else
screen.print(45,518,LANGUAGE["MENU_INSTALL_INFO"],1,color.white,color.blue, __ALEFT)

if files.exists(tai.gameid[ obj.section ].prx[idx].path) and files.exists(obj.configpath..obj.config) then
screen.print(45,518,LANGUAGE["MENU_REINSTALL_INFO"],1,color.white,color.blue, __ALEFT)
elseif files.exists(tai.gameid[ obj.section ].prx[idx].path) and not files.exists(obj.configpath..obj.config) then
screen.print(45,518,LANGUAGE["MENU_INSTALL_INFO"],1,color.white,color.blue, __ALEFT)
else
screen.print(45,518,LANGUAGE["MENU_INSTALL_INFO"],1,color.white,color.blue, __ALEFT)
end
end
else

Expand Down

0 comments on commit c4ba524

Please sign in to comment.