mirror of
				https://gitea.blesmrt.net/mikaela/scripts.git
				synced 2025-11-04 11:27:37 +01:00 
			
		
		
		
	bash/usr-local-bin/deltachat: exclude from Mullvad
This commit is contained in:
		
							parent
							
								
									240663085e
								
							
						
					
					
						commit
						acfddc6a62
					
				@ -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
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user