From 82a9c1e5221d1ff408fcf1ae05083e3023aded42 Mon Sep 17 00:00:00 2001 From: krille-chan Date: Sat, 2 Aug 2025 12:31:56 +0200 Subject: [PATCH] chore: Fix snapcraft build --- snap/snapcraft.yaml | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml index 3a2b24dcc..9708e0f64 100644 --- a/snap/snapcraft.yaml +++ b/snap/snapcraft.yaml @@ -1,7 +1,7 @@ name: fluffychat title: FluffyChat base: core24 -adopt-info: fluffychat +version: 2.0.0 license: AGPL-3.0 summary: The cutest messenger in the Matrix network description: | @@ -78,12 +78,10 @@ parts: after: [flutter-git] plugin: nil source: . - override-pull: | - craftctl default - craftctl set version="$(yq e '.version' pubspec.yaml | sed 's/\(.*\)+.*/\1/')" override-build: | # Workaround for Flutter build error: rm -rf build + flutter build linux --release -v mkdir -p $CRAFT_PART_INSTALL/bin/ cp -r build/linux/*/release/bundle/* $CRAFT_PART_INSTALL/bin/ @@ -95,7 +93,6 @@ parts: - libpciaccess-dev build-snaps: - rustup - - yq stage-packages: - libsecret-1-0 - libjsoncpp25