installBundleFromBytes method
Install a bundle from .mcpb bytes (FR-INSTALL-001).
For hosts that fetched the archive themselves and have no path to hand — a browser shell installing a purchased bundle.
Implementation
Future<InstalledAppBundle> installBundleFromBytes(Uint8List bytes) async {
_assertReady();
final installed = await _bundleInstaller.installBytes(bytes);
await _invalidateBundleCaches(installed.id);
return installed;
}