From acfddc6a628185a5f6fece087d36584b6ec118f0 Mon Sep 17 00:00:00 2001 From: Aminda Suomalainen Date: Fri, 29 Jul 2022 19:28:37 +0300 Subject: [PATCH] bash/usr-local-bin/deltachat: exclude from Mullvad --- bash/usr-local-bin/deltachat | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/bash/usr-local-bin/deltachat b/bash/usr-local-bin/deltachat index dbd3137..f393b74 100755 --- a/bash/usr-local-bin/deltachat +++ b/bash/usr-local-bin/deltachat @@ -1,10 +1,15 @@ #!/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 -flatpak run chat.delta.desktop --disable-gpu $@ +# 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