mirror of
				https://gitea.blesmrt.net/mikaela/scripts.git
				synced 2025-10-31 01:07:36 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			14 lines
		
	
	
		
			314 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			14 lines
		
	
	
		
			314 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
| #!/usr/bin/env bash
 | |
| 
 | |
| # Flutter doesn't support flatpak, so Snap is the least bad Fluffy experience.
 | |
| 
 | |
| set -x
 | |
| if [ -f /snap/bin/fluffychat ]; then
 | |
| 	# https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1951491/comments/104
 | |
| 	unset DBUS_SESSION_BUS_ADDRESS
 | |
| 	snap run fluffychat $@
 | |
| else
 | |
| 	/usr/bin/fluffychat
 | |
| fi
 | |
| set +x
 |