Skip to content

Commit

Permalink
Add some eggs...
Browse files Browse the repository at this point in the history
  • Loading branch information
Pzqqt committed Oct 25, 2019
1 parent e05e632 commit d6ef58d
Show file tree
Hide file tree
Showing 7 changed files with 47 additions and 0 deletions.
47 changes: 47 additions & 0 deletions script/aroma-config-init.sh
Original file line number Diff line number Diff line change
Expand Up @@ -237,6 +237,7 @@ if prop("operations.prop", "selected") == "$(expr $i + 1)" then
"Superuser", "", "@action",
"Uninstall Magisk", "Root will be fully removed from the device.", "@delete",
"Debug options", "", "@action",
"About", "", "@info",
"Back", "", "@back2"
);
if prop("advanced.prop", "selected") == "1" then
Expand Down Expand Up @@ -445,6 +446,52 @@ EOF
);
prop("debug.prop", "selected") == "1" && exec("/sbin/sh", "/tmp/mmr/script/gen-icons-prop.sh", "--regen");
endif;
if prop("advanced.prop", "selected") == "7" then
menubox(
"About",
"About " + ini_get("rom_name"),
"@info",
"about.prop",
"Author", ini_get("rom_author"), "@me",
"MMRT version", ini_get("rom_version"), "@info",
"Include Magisk uninstaller version", "Magisk-uninstaller-20191011.zip", "@info",
"License", "GPL-3.0", "@info",
"Github", "https://github.com/Pzqqt/Magisk_Manager_Recovery_Tool", "@info",
"XDA", "https://forum.xda-developers.com/showthread.php?t=3866502", "@info",
"Back", "", "@back2"
);
prop("about.prop", "selected") == "7" && back("2");
if prop("about.prop", "selected") == "1" then
if readtmpfile("egg") == "4" then
writetmpfile("egg", "0");
anisplash(
1,
"sp_1", 500,
"sp_2", 500,
"sp_3", 500,
"sp_4", 500,
"sp_5", 500
);
back("1");
else
writetmpfile("egg", cal(readtmpfile("egg") || "0", "+", "1"));
endif;
endif;
if prop("about.prop", "selected") == "4" then
pleasewait("Loading...");
ini_set("text_next", "");
ini_set("icon_next", "@none");
textbox(
"License",
"GPL-3.0",
"@info",
read("/tmp/mmr/LICENSE")
);
back("2");
endif;
back("1");
endif;
endif;
goto("main_menu");
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit d6ef58d

Please sign in to comment.