mirror of
https://github.com/Foundry376/Mailspring.git
synced 2024-12-26 10:00:50 +08:00
Improve Linux snap App Indicator compatibility by coercing desktop to Unity
(Special thanks to Martin at Ubuntu!)
This commit is contained in:
parent
d337d9d407
commit
96fb3a99bf
1 changed files with 6 additions and 2 deletions
|
@ -36,11 +36,15 @@ apps:
|
|||
mailspring:
|
||||
command: desktop-launch $SNAP/usr/share/mailspring/mailspring
|
||||
desktop: usr/share/applications/mailspring.desktop
|
||||
# Correct the TMPDIR path for Chromium Framework/Electron to
|
||||
# ensure libappindicator has readable resources.
|
||||
environment:
|
||||
# Correct the TMPDIR path for Chromium Framework/Electron to
|
||||
# ensure libappindicator has readable resources.
|
||||
HOME: $SNAP_USER_COMMON
|
||||
TMPDIR: $XDG_RUNTIME_DIR
|
||||
# Coerce XDG_CURRENT_DESKTOP to Unity so that App Indicators
|
||||
# are used and do not fall back to Notification Area applets
|
||||
# or disappear completely.
|
||||
XDG_CURRENT_DESKTOP: Unity
|
||||
plugs:
|
||||
- avahi-observe
|
||||
- browser-support
|
||||
|
|
Loading…
Reference in a new issue