Skip to content

Commit

Permalink
core18からcore22へ変更
Browse files Browse the repository at this point in the history
  • Loading branch information
Npepperlinux committed Nov 3, 2023
1 parent f3a7445 commit ef62538
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 13 deletions.
2 changes: 1 addition & 1 deletion snap/gui/miria.desktop
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Name=Miria
GenericName=Miria
Type=Application
Exec=miria
Icon=${SNAP}/bin/data/flutter_assets/assets/images/icon.png
Icon=${SNAP}/meta/gui/icon.png
Comment=Misskey client app for mobile (Linux build)
Comment[ja]=モバイル向けのMisskeyクライアントアプリ(Linux向けビルド)
Keywords=Misskey;Miria;みりあ
Expand Down
29 changes: 17 additions & 12 deletions snap/snapcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -31,17 +31,15 @@ issues: https://github.com/shiosyakeyakini-info/miria/issues
donation: https://shiosyakeyakini.fanbox.cc
icon: assets/images/icon.png
adopt-info: miria
base: core18 # the base snap is the execution environment for this snap
base: core22
grade: stable
confinement: strict
architectures:
- amd64
- arm64
architectures: amd64

apps:
miria:
command: bin/miria
extensions: [flutter-stable]
command: miria
extensions: [gnome]
plugs:
- network
- password-manager-service
Expand All @@ -56,9 +54,8 @@ parts:
source: .
plugin: flutter
override-pull: |
snapcraftctl pull
VERSION=$(flutter pub run cider version)
snapcraftctl set-version $VERSION
craftctl default
craftctl set version=$(cat pubspec.yaml | grep "version[:]" | cut -d ' ' -f 2)
flutter-target: lib/main.dart
build-packages:
- libsecret-1-dev
Expand All @@ -68,7 +65,15 @@ parts:
- libmpv1
# Integrate custom dialogs in your snap - doc - snapcraft.io
# https://forum.snapcraft.io/t/integrate-custom-dialogs-in-your-snap/10825
zenity-integration:
zenity:
plugin: nil
stage-snaps:
- zenity-integration
stage-packages:
- zenity
prime:
- usr/bin/zenity
- usr/share/zenity/*

layout:
# Fix resource relocation problem of zenity part
/usr/share/zenity:
symlink: $SNAP/usr/share/zenity

0 comments on commit ef62538

Please sign in to comment.