Aminda Suomalainen d94e8d65fd
bash/usr-local-bin: restore electron apps
This partially reverts commit e76a4a6a0d0472428d519205543171b1b1cdc258.
2024-01-12 10:13:17 +02:00

17 lines
716 B
Bash
Executable File

#!/usr/bin/env bash
# DeltaChat flatpak with easier command (and outside of Mullvad VPN if configured as).
# 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