build: Use flutter 3.19 for snapcraft

This commit is contained in:
krille-chan 2024-05-26 09:57:21 +02:00
parent 73839f6435
commit 2fbeaf0b66
No known key found for this signature in database

View file

@ -68,6 +68,9 @@ parts:
plugin: flutter
source: .
override-build: |
# Workaround for Flutter Linux broken on 3.22
curl -fsSL https://fvm.app/install.sh | bash
fvm use 3.19.6
# Workaround for Flutter build error:
rm -rf build
craftctl default