diff --git a/engine/src/flutter/shell/common/engine.cc b/engine/src/flutter/shell/common/engine.cc index a349e41c4d..ee3941ba22 100644 --- a/engine/src/flutter/shell/common/engine.cc +++ b/engine/src/flutter/shell/common/engine.cc @@ -244,6 +244,9 @@ void Engine::RunBundleAndSource(const std::string& bundle_path, if (packages_path.empty()) packages_path = FindPackagesPath(main); + if (!bundle_path.empty()) + ConfigureAssetBundle(bundle_path); + ConfigureRuntime(GetScriptUriFromPath(bundle_path), reuse_runtime_controller); if (blink::GetKernelPlatformBinary() != nullptr) {