Add my custom boot animation

Signed-off-by: MOVZX <movzx@yahoo.com>
This commit is contained in:
2025-12-05 18:19:58 +07:00
parent d3e7a8141d
commit 76b4b8c38e

View File

@@ -39,8 +39,17 @@ $(TARGET_GENERATED_BOOTANIMATION): $(SOONG_ZIP)
cat vendor/lineage/bootanimation/desc.txt >> $(INTERMEDIATES)/desc.txt
$(hide) $(SOONG_ZIP) -L 0 -o $@ -C $(INTERMEDIATES) -D $(INTERMEDIATES)
# Custom Boot Animation
CUSTOM_BOOTANIMATION := BootAnimations/bootanimation.zip
ifeq ($(TARGET_BOOTANIMATION),)
TARGET_BOOTANIMATION := $(TARGET_GENERATED_BOOTANIMATION)
ifneq ($(wildcard $(CUSTOM_BOOTANIMATION)),)
TARGET_BOOTANIMATION := $(CUSTOM_BOOTANIMATION)
$(warning [BootAnimation] Custom global animation found at $(CUSTOM_BOOTANIMATION))
else
TARGET_BOOTANIMATION := $(TARGET_GENERATED_BOOTANIMATION)
$(warning [BootAnimation] Custom file not found. Falling back to default generation.)
endif
endif
include $(CLEAR_VARS)