From dd00ba11c89d0ca66b4439791c61037308bef6fe Mon Sep 17 00:00:00 2001 From: nyne Date: Sat, 1 Nov 2025 12:04:14 +0800 Subject: [PATCH] Fix missing depends in deb package. Close #587 --- .github/workflows/main.yml | 4 ++-- pubspec.lock | 9 +++++---- pubspec.yaml | 4 +++- 3 files changed, 10 insertions(+), 7 deletions(-) diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index b346f7d..b679ce0 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -143,7 +143,7 @@ jobs: - run: | sudo apt-get update -y sudo apt-get install -y ninja-build libgtk-3-dev webkit2gtk-4.1 - dart pub global activate flutter_to_debian + dart pub global activate flutter_to_debian --source git https://github.com/venera-app/flutter_to_debian.git - run: python3 debian/build.py x64 - run: dart run flutter_to_arch - run: | @@ -171,7 +171,7 @@ jobs: flutter pub get sudo apt-get update -y sudo apt-get install -y ninja-build libgtk-3-dev webkit2gtk-4.1 - dart pub global activate flutter_to_debian + dart pub global activate flutter_to_debian --source git https://github.com/venera-app/flutter_to_debian.git - name: "Patch font" run: | dart run patch/font.dart diff --git a/pubspec.lock b/pubspec.lock index 63df0ee..c447a7a 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -478,10 +478,11 @@ packages: flutter_to_debian: dependency: "direct dev" description: - name: flutter_to_debian - sha256: d23534407334b331ce20fbaa8395b9ecc255d0c047136b8998715f36933ee696 - url: "https://pub.dev" - source: hosted + path: "." + ref: HEAD + resolved-ref: "3777c91b6b1cc0b7c03357c67ca216d4313c3db5" + url: "https://github.com/venera-app/flutter_to_debian.git" + source: git version: "2.0.2" flutter_web_plugins: dependency: transitive diff --git a/pubspec.yaml b/pubspec.yaml index 3f32294..69c4466 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -93,7 +93,9 @@ dev_dependencies: sdk: flutter flutter_lints: ^5.0.0 flutter_to_arch: ^1.0.1 - flutter_to_debian: ^2.0.2 + flutter_to_debian: + git: + url: https://github.com/venera-app/flutter_to_debian.git archive: any flutter: