mirror of
				https://gitea.blesmrt.net/mikaela/scripts.git
				synced 2025-11-04 11:27:37 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			18 lines
		
	
	
		
			398 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			18 lines
		
	
	
		
			398 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
#!/usr/bin/env bash
 | 
						|
 | 
						|
# Flutter doesn't support flatpak, so Snap is the least bad Fluffy experience.
 | 
						|
# I presume repo version is always outdated, so fallback to flathub s less
 | 
						|
# bad.
 | 
						|
 | 
						|
set -x
 | 
						|
if [ -f /snap/bin/fluffychat ]
 | 
						|
then
 | 
						|
	snap run fluffychat $@
 | 
						|
elif [ -f /var/lib/flatpak/exports/bin/im.fluffychat.Fluffychat ]
 | 
						|
then
 | 
						|
	flatpak run im.fluffychat.Fluffychat $@
 | 
						|
else
 | 
						|
	/usr/bin/fluffychat
 | 
						|
fi
 | 
						|
set +x
 |