mirror of
				https://gitea.blesmrt.net/mikaela/scripts.git
				synced 2025-11-04 11:27:37 +01:00 
			
		
		
		
	fluffychat & nheko: specify LANGUAGE
This commit is contained in:
		
							parent
							
								
									485e3711b8
								
							
						
					
					
						commit
						f77dfdb7d7
					
				@ -6,6 +6,9 @@ set -x
 | 
			
		||||
if [ -f /snap/bin/fluffychat ]; then
 | 
			
		||||
	# https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1951491/comments/104
 | 
			
		||||
	unset DBUS_SESSION_BUS_ADDRESS
 | 
			
		||||
	# I am supposed to be a Finnish localizer so my eo over fi as protest
 | 
			
		||||
	# doesn't work here!
 | 
			
		||||
	export LANGUAGE=fi:eo:en
 | 
			
		||||
	snap run fluffychat $@
 | 
			
		||||
else
 | 
			
		||||
	/usr/bin/fluffychat
 | 
			
		||||
 | 
			
		||||
@ -5,5 +5,5 @@
 | 
			
		||||
# TODO: Handle --help & --version flags
 | 
			
		||||
 | 
			
		||||
set -x
 | 
			
		||||
flatpak run im.nheko.Nheko//master --profile $@
 | 
			
		||||
flatpak run --env=LANGUAGE=fi:eo:en im.nheko.Nheko//master --profile $@
 | 
			
		||||
set +x
 | 
			
		||||
 | 
			
		||||
@ -6,5 +6,5 @@
 | 
			
		||||
# TODO: Handle --help & --version flags
 | 
			
		||||
 | 
			
		||||
set -x
 | 
			
		||||
flatpak run --env=TZ=UTC --env=all_proxy=socks5://127.0.0.1:9050/ im.nheko.Nheko//master --profile $@
 | 
			
		||||
flatpak run LANGUAGE=en --env=TZ=UTC --env=all_proxy=socks5://127.0.0.1:9050/ im.nheko.Nheko//master --profile $@
 | 
			
		||||
set +x
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user