diff --git a/snap/snapcraft.yaml b/snap/snapcraft.yaml index f8cb5024b..953d1a019 100644 --- a/snap/snapcraft.yaml +++ b/snap/snapcraft.yaml @@ -30,7 +30,7 @@ website: https://shiosyakeyakini.info/miria_web source-code: https://github.com/shiosyakeyakini-info/miria issues: https://github.com/shiosyakeyakini-info/miria/issues donation: https://shiosyakeyakini.fanbox.cc -icon: assets/images/icon.png +icon: macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_256.png adopt-info: miria base: core22 grade: stable @@ -98,7 +98,7 @@ parts: set -eux flutter build linux --release cp -r build/linux/*/release/bundle/* $CRAFT_PART_INSTALL/usr/share/miria/ - convert assets/images/icon.png -resize 256x256 $CRAFT_PART_INSTALL/meta/gui/miria.png + cp macos/Runner/Assets.xcassets/AppIcon.appiconset/app_icon_256.png $CRAFT_PART_INSTALL/meta/gui/miria.png # Snapとファイル選択ダイアログの統合のため # 詳細: https://forum.snapcraft.io/t/integrate-custom-dialogs-in-your-snap/10825