From ce041e358e03ef97ad4a96315ee53d6300fe9653 Mon Sep 17 00:00:00 2001 From: Aminda Suomalainen Date: Fri, 3 Jun 2022 18:40:44 +0300 Subject: [PATCH] bash/usr-local-bin: add deltachat wrapper --- bash/usr-local-bin/deltachat | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100755 bash/usr-local-bin/deltachat diff --git a/bash/usr-local-bin/deltachat b/bash/usr-local-bin/deltachat new file mode 100755 index 0000000..dbd3137 --- /dev/null +++ b/bash/usr-local-bin/deltachat @@ -0,0 +1,10 @@ +#!/usr/bin/env bash + +# The usual Electron flags: --disable-gpu --enable-features=UseOzonePlatform,WaylandWindowDecorations,WebRTCPipeWireCapturer --ozone-platform=wayland + +# https://github.com/deltachat/deltachat-desktop/issues/2800 +# Wayland would be enabled by: --enable-features=UseOzonePlatform,WaylandWindowDecorations,WebRTCPipeWireCapturer --ozone-platform=wayland + +set -x +flatpak run chat.delta.desktop --disable-gpu $@ +set +x