From cf65b8eecd22ee5b321ea664e60a2ad39c33826e Mon Sep 17 00:00:00 2001 From: lollipopkit Date: Sun, 2 Jun 2024 14:25:12 +0800 Subject: [PATCH] fix: release build --- .github/workflows/release.yaml | 1 + pubspec.lock | 6 +++--- pubspec.yaml | 5 +++-- windows/runner/main.cpp | 2 +- 4 files changed, 8 insertions(+), 6 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 1e1e645..680b666 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -29,6 +29,7 @@ jobs: curl -u ${{ secrets.BASIC_AUTH }} -o android/key.properties ${{ secrets.URL_PREFIX }}key.properties - name: Install dependencies run: | + sudo apt update sudo apt install libgstreamer1.0-dev libgstreamer-plugins-base1.0-dev libunwind-dev - name: Build run: dart run fl_build -p android,linux diff --git a/pubspec.lock b/pubspec.lock index 22dabb6..e7f9d8e 100644 --- a/pubspec.lock +++ b/pubspec.lock @@ -34,7 +34,7 @@ packages: source: hosted version: "2.0.2" app_links: - dependency: transitive + dependency: "direct main" description: name: app_links sha256: "96e677810b83707ff5e10fac11e4839daa0ea4e0123c35864c092699165eb3db" @@ -423,8 +423,8 @@ packages: dependency: "direct main" description: path: "." - ref: "v1.0.27" - resolved-ref: "7f329a63eff761bbb2013d4865515a4aeaecf3e8" + ref: "v1.0.28" + resolved-ref: "391a9bf38c6971700bac9037dd9d5cc8698fc6fe" url: "https://github.com/lollipopkit/fl_lib" source: git version: "0.0.1" diff --git a/pubspec.yaml b/pubspec.yaml index ed68a8c..61c1120 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -29,9 +29,10 @@ dependencies: fl_lib: git: url: https://github.com/lollipopkit/fl_lib - ref: v1.0.27 - extended_image: ^8.2.1 + ref: v1.0.28 # path: ../fl_lib + extended_image: ^8.2.1 + app_links: ^6.1.1 dev_dependencies: flutter_test: diff --git a/windows/runner/main.cpp b/windows/runner/main.cpp index 36b4805..2473aa4 100644 --- a/windows/runner/main.cpp +++ b/windows/runner/main.cpp @@ -5,7 +5,7 @@ #include "flutter_window.h" #include "utils.h" -#include +#include "app_links/app_links_plugin_c_api.h" bool SendAppLinkToInstance(const std::wstring& title) { // Find our exact window