scripts/bash/usr-local-bin/deltachat

16 lines
696 B
Bash
Executable File

#!/usr/bin/env bash
# DeltaChat flatpak with easier command and outside of Mullvad VPN.
# Gandi.net mail servers don't like Mullvad IPs resulting inability to send
# anything.
# 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
# Having "flatpak run" will make mullvad-exclude lose effect!
/usr/bin/mullvad-exclude /var/lib/flatpak/exports/bin/chat.delta.desktop --disable-gpu $@
set +x