Skip to content

基于自定义规则的番剧采集APP,支持流媒体在线观看,支持弹幕,支持实时超分辨率。

612 B
Raw Blame
import 'package:flutter/foundation.dart';
import 'package:flutter/services.dart';

void registerEchHttpLicenses() {
  LicenseRegistry.addLicense(() async* {
    const notices = {
      'libcurl': 'CURL_LICENSE',
      'BoringSSL': 'BORINGSSL_LICENSE',
      'Mozilla CA certificate data': 'CA_BUNDLE_LICENSE',
      'LLVM libc++': 'LIBCXX_LICENSE',
      'ech_http native dependencies': 'THIRD_PARTY_NOTICES.md',
    };
    for (final entry in notices.entries) {
      yield LicenseEntryWithLineBreaks([
        entry.key,
      ], await rootBundle.loadString('licenses/ech_http/${entry.value}'));
    }
  });
}