Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Jefino9488 committed Jul 2, 2024
1 parent d80511f commit ca401eb
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions installer.bat
Original file line number Diff line number Diff line change
Expand Up @@ -152,11 +152,17 @@ if exist %imagesPath%\preloader_xaga.bin (
echo Preloader flashed successfully.
)

if exist %imagesPath%\preloader_xaga.bin (
if exist %imagesPath%\preloader_xaga.img (
echo Flashing preloader...
fastboot flash preloader1 preloader_xaga.bin
fastboot flash preloader2 preloader_xaga.bin
fastboot flash preloader1 preloader_xaga.img
fastboot flash preloader2 preloader_xaga.img
echo Preloader flashed successfully.
) else (
if exist %imagesPath%\preloader_raw.img (
echo Flashing preloader...
fastboot flash preloader1 preloader_raw.img
fastboot flash preloader2 preloader_raw.img
echo Preloader flashed successfully.
)

echo Flashing boot image...
Expand Down

0 comments on commit ca401eb

Please sign in to comment.