Restore Animation Building without Sharingan

This commit is contained in:
RogueMaster
2022-10-30 18:56:42 -04:00
parent 69eb5ef06d
commit 503176ba55
+11 -13
View File
@@ -62,22 +62,20 @@ assetsenv.Install("${LIB_DIST_DIR}", assetslib)
# Resources for SD card
if assetsenv["IS_BASE_FIRMWARE"]:
# External dolphin animations - LETS LEAVE ANIMATIONS THE F**K ALONE
# dolphin_external = assetsenv.DolphinExtBuilder(
# assetsenv.Dir("#/assets/resources/dolphin"),
# assetsenv.Dir("#/assets/dolphin"),
# DOLPHIN_RES_TYPE="external",
# )
# # assetsenv.NoClean(dolphin_external)
# if assetsenv["FORCE"]:
# assetsenv.AlwaysBuild(dolphin_external)
# assetsenv.Alias("dolphin_ext", dolphin_external)
# assetsenv.Clean(dolphin_external, assetsenv.Dir("#/assets/resources/dolphin"))
# External dolphin animations
dolphin_external = assetsenv.DolphinExtBuilder(
assetsenv.Dir("#/assets/resources/dolphin"),
assetsenv.Dir("#/assets/dolphin"),
DOLPHIN_RES_TYPE="external",
)
if assetsenv["FORCE"]:
assetsenv.AlwaysBuild(dolphin_external)
assetsenv.Alias("dolphin_ext", dolphin_external)
assetsenv.Clean(dolphin_external, assetsenv.Dir("#/assets/resources/dolphin"))
# Resources manifest
resources = assetsenv.Command(
"#/assets/resources/Manifest",
# assetsenv.GlobRecursive("*", "resources", exclude="Manifest"),
assetsenv.GlobRecursive(
"*", assetsenv.Dir("resources").srcnode(), exclude="Manifest"
),
@@ -98,4 +96,4 @@ if assetsenv["IS_BASE_FIRMWARE"]:
env["FW_RESOURCES"] = resources
assetsenv.Alias("resources", resources)
Return("assetslib")
Return("assetslib")