Skip to content

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

bump linux webview

Predidit39f7f8520f8d
diff --git a/lib/pages/webview/webview_controller_impel/webview_linux_controller_impel.dart b/lib/pages/webview/webview_controller_impel/webview_linux_controller_impel.dart
index c58895df..043bccf2 100644
--- a/lib/pages/webview/webview_controller_impel/webview_linux_controller_impel.dart
+++ b/lib/pages/webview/webview_controller_impel/webview_linux_controller_impel.dart
@@ -4,13 +4,12 @@ import 'package:kazumi/utils/utils.dart';
import 'package:desktop_webview_window/desktop_webview_window.dart';
class WebviewLinuxItemControllerImpel extends WebviewItemController<Webview> {
-
bool bridgeInited = false;
@override
Future<void> init() async {
webviewController ??= await WebviewWindow.create(
- configuration: const CreateConfiguration(userScripts: [
+ configuration: const CreateConfiguration(headless: true, userScripts: [
UserScript(
source: blobScript,
injectionTime: UserScriptInjectionTime.documentStart,
diff --git a/pubspec.lock b/pubspec.lock
index 8fd395ec..b2a74a35 100644
--- a/pubspec.lock
+++ b/pubspec.lock
@@ -317,8 +317,8 @@ packages:
dependency: "direct main"
description:
path: "."
- ref: user_script
- resolved-ref: "0372b6b20c7d48b5777180b8d3cb0124f2e6b061"
+ ref: main
+ resolved-ref: f95c8d09e66a73dce5465770f6fb41e4a13fad44
url: "https://github.com/Predidit/linux_webview_window.git"
source: git
version: "0.2.4"
diff --git a/pubspec.yaml b/pubspec.yaml
index 827fca92..5c42b8d7 100644
--- a/pubspec.yaml
+++ b/pubspec.yaml
@@ -91,7 +91,7 @@ dependencies:
desktop_webview_window:
git:
url: https://github.com/Predidit/linux_webview_window.git
- ref: user_script
+ ref: main
media_kit:
git:
url: https://github.com/Predidit/media-kit.git