2
0
mirror of https://gitlab.com/Nanolx/NanoDroid synced 2024-11-02 03:40:13 +00:00

update SetupWizard AROMA binaries (taken from ElementalX kernel)

This commit is contained in:
Christopher Roy Bratusek 2019-01-07 19:33:15 +01:00
parent c62e20960e
commit a53d6ff17e
5 changed files with 31 additions and 45 deletions

View File

@ -4,16 +4,10 @@ ini_set("rom_author", "Nanolx");
ini_set("rom_device", "Generic (LOS/AOSP)");
ini_set("rom_date", "99999999");
# This option should prevent incorrect
# and inverted theme and icon colors in some TWRP
# Need more tests
# ini_set("force_colorspace","rgba");
anisplash(
0, "splash/nanolx.png", 1500
);
fontresload( "0", "ttf/DroidSans.ttf;", "12" );
ini_set("force_colorspace","rgba");
splash(2000, "nanolx");
fontresload( "0", "ttf/Roboto-Regular.ttf", "12" );
fontresload( "1", "ttf/Roboto-Regular.ttf", "18" );
theme("touchwiz");
viewbox(
@ -27,23 +21,12 @@ viewbox(
);
agreebox(
#-- Title
"READ THIS",
#-- Subtitle / Description
"Please read before going further",
#-- Icon
"@license",
#-- Text Content ( Read from <AROMA Resource Dir>/license.txt )
resread("license.txt"),
#-- Checkbox Text
"I Agree with this",
#-- Unchecked Alert Message
"Please check the Agree box first"
"\nTerms Of Use",
"<@center>\nPlease read the ElementalX terms of use\n\n</@>",
"@license",
"" + readfile_aroma("agreement.txt"),
"I agree with these terms of use",
"<@center>\nYou must accept the terms</@>"
);
selectbox(
@ -212,31 +195,34 @@ checkbox(
);
viewbox(
"Ready",
"The wizard is ready to begin the process.\n\n"+
"Ready",
"The wizard is ready to begin the process.\n\n"+
"Press <b>Next</b> to begin the process.\n\n"+
"If you want to review or change any of your selection, press <b>Back</b>.",
"@install"
"@install"
);
setvar("retstatus",
install(
#-- Title
"Please Wait...",
#-- Installation Process message
"<b>"+ini_get("rom_name")+"</b>\n\n"+
"Please wait while processing your selection.",
#-- Installation Icon
"@install",
#-- Installation Finish Message
"The process has successfully ended.
Press Next to continue."
"Please Wait...",
"<b>"+ini_get("rom_name")+"</b>\n\n"+
"Please wait while processing your selection.",
"@install",
""
)
);
ini_set("text_next", "Finish");
#---- FINISH
if getvar("retstatus")=="0" then
viewbox(
"Installation Completed",
"<@center>\nCongratulations!\n"+
"NanoDroid setup successfully created\n\n\n</@>",
""
);
else
viewbox("Installation Failed",
"\n\nInstaller Status: "+ getvar("retstatus"),
"@alert");
endif;

View File

@ -1,4 +1,4 @@
<@center><b><#selectbg_g>Terms of Service</#></b>
<@center><b><#selectbg_g>Terms of Use</#></b>
By using this package, you take full responsibility of it's use, I (setialpha/Nanolx) am not responsible of any damage this package may cause to your device.