Skip to content
This repository has been archived by the owner on Mar 7, 2020. It is now read-only.

Commit

Permalink
v1.5
Browse files Browse the repository at this point in the history
  • Loading branch information
theheroGAC authored May 27, 2018
1 parent 3bfdb10 commit 62f6779
Show file tree
Hide file tree
Showing 6 changed files with 37 additions and 10 deletions.
2 changes: 1 addition & 1 deletion git/shared.lua
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ APP_REPO = "theheroGAC"
APP_PROJECT = "Autoplugin"

APP_VERSION_MAJOR = 0x01 -- major.minor
APP_VERSION_MINOR = 0x04
APP_VERSION_MINOR = 0x05
APP_VERSION = ((APP_VERSION_MAJOR << 0x18) | (APP_VERSION_MINOR << 0x10)) -- Union Binary
Binary file added resources/adrenaline.zip
Binary file not shown.
11 changes: 3 additions & 8 deletions resources/autoplugin.lua
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ while true do
screen.print(25,420,"Press CROSS to install Plugins on ux0:tai",1,color.white,color.blue)
screen.print(25,440,"Press CIRCLE to install Plugins on ur0:tai.",1,color.white,color.black)
screen.print(25,460,"Press TRIANGLE to install Plugins on PSTV ONLY(ux0:tai).",1,color.white,color.green)
screen.print(25,480,"Press SQUARE to restore the old config.txt file.",1,color.white,color.blue)
screen.print(25,480,"Press SQUARE to enter the extra tool.",1,color.white,color.blue)
screen.print(15,500,"Press START to exit.",1,color.white,color.red)

screen.flip() -- Show Buff
Expand Down Expand Up @@ -53,13 +53,8 @@ end


if buttons.square then
if files.exists("ux0:tai/config_backup.txt") then files.rename("ux0:tai/config_backup.txt", "config.txt") end
if files.exists("ur0:tai/config_backup.txt") then files.rename("ur0:tai/config_backup.txt", "config.txt") end
os.message("\Your config.txt file has been restored, the console will restart\n\nto apply the changes. The config_backup.txt file\n\nof Autoplugins has been removed!",0)
os.delay(2500)
buttons.homepopup(1)
power.restart()
dofile("resources/extra.lua")
end

if buttons.released.start then break end -- Exit
end
end
32 changes: 32 additions & 0 deletions resources/extra.lua
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
------Autoinstall plugin
-------------------Extra-----------

color.loadpalette() -- Load Defaults colors
back = image.load("resources/back.png")

while true do
buttons.read()
if back then back:blit(0,0) end

screen.print(10,20,"Update Adrenaline with one click",1,color.red)
screen.print(25,80,"-> Update Adrenaline 6.3 by TheFl0w",1,color.green)
screen.print(25,420,"Press CROSS to update Adrenaline",1,color.white,color.blue)
screen.print(25,440,"Press SQUARE to return to the main menu",1,color.white,color.blue)
screen.print(15,500,"Press START to exit.",1,color.white,color.red)

screen.flip() -- Show Buff

if buttons.cross then
files.extract("resources/adrenaline.zip","ux0:app/PSPEMUCFW/sce_module")
os.message("Your PSVita will restart...\n\n Adrenaline has been update",0)
os.delay(2500)
buttons.homepopup(1)
power.restart()
end

if buttons.square then
dofile("resources/autoplugin.lua")
end

if buttons.released.start then break end -- Exit
end
2 changes: 1 addition & 1 deletion sce_sys/livearea/contents/template.xml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
<frame id="frame4">
<liveitem>
<text align="left" text-align="left" word-wrap="off" ellipsis="on">
<str size="18" color="#ffffff" shadow="on">v1.04</str>
<str size="18" color="#ffffff" shadow="on">v1.05</str>
</text>
</liveitem>
</frame>
Expand Down
Binary file modified sce_sys/param.sfo
Binary file not shown.

0 comments on commit 62f6779

Please sign in to comment.