diff --git a/assets/SConscript b/assets/SConscript index 9c606c6ef..b078e0f41 100644 --- a/assets/SConscript +++ b/assets/SConscript @@ -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") \ No newline at end of file