Skip to content

Commit

Permalink
Fixed Issue With Custom bootanimation.zip Scripting
Browse files Browse the repository at this point in the history
  • Loading branch information
esc0rtd3w committed May 24, 2020
1 parent 3ca666c commit 90f7f9c
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions root-stick.cmd
Original file line number Diff line number Diff line change
Expand Up @@ -4136,7 +4136,7 @@ if %newBootCustomChoice%==none goto bootanimCustom
if %newBootCustomChoice%==B goto bootanimReplace
if %newBootCustomChoice%==b goto bootanimReplace

set newBootAnimation==%newBootCustomChoice%
set newBootAnimation=%newBootCustomChoice%

%shell% "rm /data/local/tmp/bootanimation.zip"
%push% "%newBootAnimation%" /data/local/tmp/
Expand Down Expand Up @@ -4183,7 +4183,6 @@ echo.
set /p newBootAnimationChoice=

if %newBootAnimationChoice%==none goto bootanimReplace
if %newBootAnimationChoice% gtr 8 goto bootanimReplace

if not %fireOsDevice%==mantis (
if %newBootAnimationChoice%==1 set newBootAnimation=%bootAnimationBlue%
Expand Down Expand Up @@ -4212,6 +4211,9 @@ if %newBootAnimationChoice%==c goto bootanimCustom
if %newBootAnimationChoice%==B goto fixesMenu
if %newBootAnimationChoice%==b goto fixesMenu

:: Check for higher numbers after checking letters first
if %newBootAnimationChoice% gtr 8 goto bootanimReplace

:: Wait for ADB connection before continuing
%adbWait%

Expand Down

0 comments on commit 90f7f9c

Please sign in to comment.