mirror of
https://github.com/Foundry376/Mailspring.git
synced 2025-01-14 20:21:26 +08:00
snap: Inherit informations from appdata when possible
This commit is contained in:
parent
9efa93724c
commit
26d0956a0e
1 changed files with 2 additions and 1 deletions
|
@ -1,5 +1,4 @@
|
||||||
name: mailspring
|
name: mailspring
|
||||||
summary: The best email app for people and teams at work
|
|
||||||
adopt-info: mailspring
|
adopt-info: mailspring
|
||||||
description: |
|
description: |
|
||||||
An extensible desktop mail app built on the modern web.
|
An extensible desktop mail app built on the modern web.
|
||||||
|
@ -38,6 +37,7 @@ parts:
|
||||||
mkdir -p $SNAPCRAFT_PART_INSTALL/share/themes
|
mkdir -p $SNAPCRAFT_PART_INSTALL/share/themes
|
||||||
mkdir -p $SNAPCRAFT_PART_INSTALL/share/icons
|
mkdir -p $SNAPCRAFT_PART_INSTALL/share/icons
|
||||||
mkdir -p $SNAPCRAFT_PART_INSTALL/share/sounds
|
mkdir -p $SNAPCRAFT_PART_INSTALL/share/sounds
|
||||||
|
parse-info: [usr/share/appdata/mailspring.appdata.xml]
|
||||||
after:
|
after:
|
||||||
- desktop-gtk3
|
- desktop-gtk3
|
||||||
stage-packages:
|
stage-packages:
|
||||||
|
@ -61,6 +61,7 @@ parts:
|
||||||
apps:
|
apps:
|
||||||
mailspring:
|
mailspring:
|
||||||
command: desktop-launch $SNAP/usr/share/mailspring/mailspring --no-sandbox
|
command: desktop-launch $SNAP/usr/share/mailspring/mailspring --no-sandbox
|
||||||
|
common-id: mailspring
|
||||||
desktop: usr/share/applications/Mailspring.desktop
|
desktop: usr/share/applications/Mailspring.desktop
|
||||||
environment:
|
environment:
|
||||||
# Correct the TMPDIR path for Chromium Framework/Electron to
|
# Correct the TMPDIR path for Chromium Framework/Electron to
|
||||||
|
|
Loading…
Reference in a new issue