From a10020d1f1b1790fe530cefce8eaead6e19fd37a Mon Sep 17 00:00:00 2001 From: Kingtous Date: Tue, 9 Aug 2022 18:03:33 +0800 Subject: [PATCH] fix: fix window manager re-register issue Signed-off-by: Kingtous --- flutter/pubspec.lock | 12 +++++++----- flutter/pubspec.yaml | 7 +++++-- 2 files changed, 12 insertions(+), 7 deletions(-) diff --git a/flutter/pubspec.lock b/flutter/pubspec.lock index 7133ae132..96458745c 100644 --- a/flutter/pubspec.lock +++ b/flutter/pubspec.lock @@ -236,8 +236,8 @@ packages: dependency: "direct main" description: path: "." - ref: "7cd2d885e58397766f3f03a1e632299944580aac" - resolved-ref: "7cd2d885e58397766f3f03a1e632299944580aac" + ref: ce9e333d822fe6cbf91c8634bae023bf78700d94 + resolved-ref: ce9e333d822fe6cbf91c8634bae023bf78700d94 url: "https://github.com/Kingtous/rustdesk_desktop_multi_window" source: git version: "0.1.0" @@ -1211,9 +1211,11 @@ packages: window_manager: dependency: "direct main" description: - name: window_manager - url: "https://pub.dartlang.org" - source: hosted + path: "." + ref: "1871cf2" + resolved-ref: "1871cf2857925d28db64b2151bc10b8dac714846" + url: "https://github.com/Kingtous/rustdesk_window_manager" + source: git version: "0.2.5" xdg_directories: dependency: transitive diff --git a/flutter/pubspec.yaml b/flutter/pubspec.yaml index 591b59d29..ba400a102 100644 --- a/flutter/pubspec.yaml +++ b/flutter/pubspec.yaml @@ -55,11 +55,14 @@ dependencies: url: https://github.com/SoLongAndThanksForAllThePizza/flutter_rust_bridge ref: master path: frb_dart - window_manager: ^0.2.5 + window_manager: + git: + url: https://github.com/Kingtous/rustdesk_window_manager + ref: 1871cf2 desktop_multi_window: git: url: https://github.com/Kingtous/rustdesk_desktop_multi_window - ref: 7cd2d885e58397766f3f03a1e632299944580aac + ref: ce9e333d822fe6cbf91c8634bae023bf78700d94 # bitsdojo_window: ^0.1.2 freezed_annotation: ^2.0.3 tray_manager: 0.1.7