bash/usr-local-bin: add deltachat wrapper

This commit is contained in:
Aminda Suomalainen 2022-06-03 18:40:44 +03:00
parent 448a5de2e3
commit ce041e358e
Signed by: Mikaela
SSH Key Fingerprint: SHA256:CXLULpqNBdUKB6E6fLA1b/4SzG0HvKD19PbIePU175Q

10
bash/usr-local-bin/deltachat Executable file
View File

@ -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