From 4dd922457bcb0894a92ddbcdba4424864669c369 Mon Sep 17 00:00:00 2001 From: Levi Date: Sat, 16 Nov 2024 02:19:21 +0800 Subject: [PATCH 1/3] Update my_application.cc --- ui/flutter/linux/my_application.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ui/flutter/linux/my_application.cc b/ui/flutter/linux/my_application.cc index a6a85ee1d..c6639cb64 100644 --- a/ui/flutter/linux/my_application.cc +++ b/ui/flutter/linux/my_application.cc @@ -48,8 +48,8 @@ static void my_application_activate(GApplication* application) { } gtk_window_set_default_size(window, 1280, 720); - //gtk_widget_show(GTK_WIDGET(window)); - gtk_widget_realize(GTK_WIDGET(window)); + gtk_widget_show(GTK_WIDGET(window)); + //gtk_widget_realize(GTK_WIDGET(window)); g_autoptr(FlDartProject) project = fl_dart_project_new(); fl_dart_project_set_dart_entrypoint_arguments(project, self->dart_entrypoint_arguments); From 814dfa326653cf5d97007e8dd326f0b1dcb52df9 Mon Sep 17 00:00:00 2001 From: liwei Date: Mon, 18 Nov 2024 10:25:01 +0800 Subject: [PATCH 2/3] Revert "Update my_application.cc" This reverts commit 4dd922457bcb0894a92ddbcdba4424864669c369. --- ui/flutter/linux/my_application.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ui/flutter/linux/my_application.cc b/ui/flutter/linux/my_application.cc index c6639cb64..a6a85ee1d 100644 --- a/ui/flutter/linux/my_application.cc +++ b/ui/flutter/linux/my_application.cc @@ -48,8 +48,8 @@ static void my_application_activate(GApplication* application) { } gtk_window_set_default_size(window, 1280, 720); - gtk_widget_show(GTK_WIDGET(window)); - //gtk_widget_realize(GTK_WIDGET(window)); + //gtk_widget_show(GTK_WIDGET(window)); + gtk_widget_realize(GTK_WIDGET(window)); g_autoptr(FlDartProject) project = fl_dart_project_new(); fl_dart_project_set_dart_entrypoint_arguments(project, self->dart_entrypoint_arguments); From dc7693faee3e4c107327c05342603baab2edc769 Mon Sep 17 00:00:00 2001 From: liwei Date: Mon, 18 Nov 2024 10:40:53 +0800 Subject: [PATCH 3/3] fix --- .github/workflows/build.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 69fbed566..41d8676ec 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -14,7 +14,7 @@ on: env: GO_VERSION: "1.23" - FLUTTER_VERSION: "3.24.3" + FLUTTER_VERSION: "3.24.5" permissions: contents: write @@ -226,7 +226,7 @@ jobs: - run: | sudo apt update -y # flutter build dependencies - sudo apt install -y ninja-build libgtk-3-dev libayatana-appindicator3-1 libayatana-appindicator3-dev + sudo apt install -y ninja-build pkg-config libgtk-3-dev liblzma-dev libstdc++-12-dev libayatana-appindicator3-1 libayatana-appindicator3-dev # appimage build dependencies sudo apt install -y libfuse2 locate wget -O appimagetool "https://github.com/AppImage/AppImageKit/releases/download/continuous/appimagetool-x86_64.AppImage" @@ -319,8 +319,11 @@ jobs: - clang - cmake - curl - - libgtk-3-dev - ninja-build + - pkg-config + - libgtk-3-dev + - liblzma-dev + - libstdc++-12-dev - unzip - xz-utils - zip