Skip to content
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
572e9da
Enable wayland support
kenvandine Apr 26, 2023
7c48347
chore: bump version to 5.4.0
jnsgruk Jun 20, 2023
64089f3
Merge pull request #75 from jnsgruk/5.4.0
kenvandine Jun 20, 2023
81d54fb
Add support for arm64 architecture in addition to amd64, as supported…
moon127 Jun 21, 2023
19c2cfc
make snapcraft remote-build happy
moon127 Jun 21, 2023
03b072f
Merge pull request #76 from moon127/master
lucyllewy Jun 21, 2023
b58752e
chore: bump version to 5.5.0
jnsgruk Sep 15, 2023
e80361a
Merge pull request #77 from jnsgruk/master
kenvandine Sep 17, 2023
b9dcfa5
chore: mattermost-desktop 5.5.0 -> 5.5.1 (#79)
jnsgruk Oct 3, 2023
b29c325
chore: remove cruft (#80)
popey Nov 6, 2023
9b53e49
ci: use latest snapcrafters actions (#81)
jnsgruk Nov 14, 2023
48ae2f2
Bump actions/github-script from 6 to 7 (#83)
dependabot[bot] Nov 14, 2023
a76dd19
Bump xt0rted/slash-command-action from 1 to 2 (#82)
dependabot[bot] Nov 14, 2023
0e7931d
Bump actions/checkout from 3 to 4 (#84)
dependabot[bot] Nov 14, 2023
347f3a5
remove arches (#85)
merlijn-sebrechts Nov 14, 2023
2517ae6
docs: update snapcraft.yaml to include more detailed metadata (#89)
jnsgruk Nov 15, 2023
58cd2ad
ci: port auto-screenshot and ci changes from signal-desktop (#91)
jnsgruk Nov 27, 2023
172626a
ci: use shared actions from snapcrafters/ci (#93)
jnsgruk Dec 2, 2023
0c3c389
chore: bump mattermost-desktop to version 5.6.0
snapcrafters-bot Dec 15, 2023
3d238ff
Enable wayland support
kenvandine Apr 26, 2023
5626d85
Added --disable-features=WaylandFractionalScaleV1 as noted by upstream
kenvandine Dec 15, 2023
7794fc1
Add launcher
kenvandine Dec 15, 2023
47d527a
Merge remote-tracking branch 'origin/enable-wayland' into enable-wayland
kenvandine Dec 15, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions launcher/launcher
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#!/bin/bash

if [[ ! -n "$DISABLE_WAYLAND" && -n "$WAYLAND_DISPLAY" ]]; then
WAYLAND_OPTS="--enable-features=UseOzonePlatform,WaylandWindowDecorations,WebRTCPipeWireCapturer --ozone-platform=wayland"
fi

exec "$SNAP/opt/Mattermost/mattermost-desktop" --no-sandbox --disable-seccomp-filter-sandbox $WAYLAND_OPTS "$@"
8 changes: 7 additions & 1 deletion snap/snapcraft.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,12 @@ parts:
plugin: nil
source: https://github.com/mattermost/desktop.git

launcher:
plugin: dump
source: launcher
override-build: |
cp launcher $CRAFT_PART_INSTALL/

mattermost-desktop:
plugin: dump
source: https://releases.mattermost.com/desktop/$SNAPCRAFT_PROJECT_VERSION/mattermost-desktop_$SNAPCRAFT_PROJECT_VERSION-1_amd64.deb
Expand Down Expand Up @@ -55,7 +61,7 @@ apps:
mattermost-desktop:
extensions: [gnome]
command-chain: [opt/Mattermost/fix-default-download-dir]
command: opt/Mattermost/mattermost-desktop --no-sandbox --disable-seccomp-filter-sandbox
command: launcher
desktop: usr/share/applications/mattermost-desktop.desktop
autostart: mattermost-desktop.desktop
environment:
Expand Down