bash/usr-local-bin/deltachat: exclude from Mullvad

This commit is contained in:
Aminda Suomalainen 2022-07-29 19:28:37 +03:00
parent 240663085e
commit acfddc6a62
Signed by: Mikaela
SSH Key Fingerprint: SHA256:CXLULpqNBdUKB6E6fLA1b/4SzG0HvKD19PbIePU175Q

View File

@ -1,10 +1,15 @@
#!/usr/bin/env bash #!/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 # The usual Electron flags: --disable-gpu --enable-features=UseOzonePlatform,WaylandWindowDecorations,WebRTCPipeWireCapturer --ozone-platform=wayland
# https://github.com/deltachat/deltachat-desktop/issues/2800 # https://github.com/deltachat/deltachat-desktop/issues/2800
# Wayland would be enabled by: --enable-features=UseOzonePlatform,WaylandWindowDecorations,WebRTCPipeWireCapturer --ozone-platform=wayland # Wayland would be enabled by: --enable-features=UseOzonePlatform,WaylandWindowDecorations,WebRTCPipeWireCapturer --ozone-platform=wayland
set -x 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 set +x