From 63ce3a055c22c8bfa1f5c64f6ad4901775a3efce Mon Sep 17 00:00:00 2001 From: ONELua Team Date: Mon, 25 Mar 2019 10:00:10 -0600 Subject: [PATCH] Fix install VitaStick --- script.lua | 2 +- scripts/psvita/autoplugin.lua | 2 ++ scripts/psvita/plugins.lua | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/script.lua b/script.lua index 7cc3f281..7b91c44c 100644 --- a/script.lua +++ b/script.lua @@ -52,7 +52,7 @@ fnt = font.load("ux0:data/AUTOPLUGIN/font/font.pgf") or font.load("ux0:data/AUTO if fnt then font.setdefault(fnt) end --Updater -if check_online() then dofile("git/updater.lua") end +dofile("git/updater.lua") --Init load configs tai.load() diff --git a/scripts/psvita/autoplugin.lua b/scripts/psvita/autoplugin.lua index 7a2553ce..3ae3fb12 100644 --- a/scripts/psvita/autoplugin.lua +++ b/scripts/psvita/autoplugin.lua @@ -38,6 +38,8 @@ function plugins_installation(sel) install = false end end + elseif plugins[sel].path == "vitastick.skprx" and not game.exists("VITASTICK") then + game.install("resources/plugins/vitastick.vpk") end if install then diff --git a/scripts/psvita/plugins.lua b/scripts/psvita/plugins.lua index 0c390de8..cfe042ae 100644 --- a/scripts/psvita/plugins.lua +++ b/scripts/psvita/plugins.lua @@ -22,7 +22,7 @@ plugins = { { name = "ds3vita by xerpi Beta3", path = "ds3vita.skprx", section = "KERNEL", path2 = false, section2 = false, config = false, version = "0001", desc = LANGUAGE["INSTALLP_DESC_DS3VITA"], }, { name = "ds4vita by xerpi v1.2", path = "ds4vita.skprx", section = "KERNEL", path2 = false, section2 = false, config = false, version = "0001", desc = LANGUAGE["INSTALLP_DESC_DS4VITA"], }, { name = "udcd_uvc by xerpi v1.2", path = "udcd_uvc.skprx", section = "KERNEL", path2 = false, section2 = false, config = false, version = "0001", desc = LANGUAGE["INSTALLP_DESC_UDCDUVC"], }, -{ name = "vitastick by xerpi v0.4.1 alpha", path = "vitastick.skprx", section = "KERNEL", path2 = false, section2 = false, config = false, version = "0001", desc = LANGUAGE["INSTALLP_DESC_VITASTICK"],game.install("resources/plugins/vitastick.vpk") }, +{ name = "vitastick by xerpi v0.4.1 alpha", path = "vitastick.skprx", section = "KERNEL", path2 = false, section2 = false, config = false, version = "0001", desc = LANGUAGE["INSTALLP_DESC_VITASTICK"], }, { name = "viimote by xerpi v1.2", path = "viimote.skprx", section = "KERNEL", path2 = false, section2 = false, config = false, version = "0001", desc = LANGUAGE["INSTALLP_DESC_VIIMOTE"], }, { name = "Adrenaline by TheOfficialFloW (Fix double touch)", path = "adrenaline_kernel.skprx", section = "KERNEL", path2 = false, section2 = false, config = false, version = "0001", desc = LANGUAGE["INSTALLP_DESC_ADRENALINE"], }, { name = "DSMotion by OperationNT414C v1.2", path = "dsmotion.skprx", section = "KERNEL", path2 = "dsmotion.suprx", section2 = "ALL", config = false, version = "0001", desc = LANGUAGE["INSTALLP_DESC_DSMOTION"], },