mirror of
				https://github.com/FeralInteractive/gamemode.git
				synced 2025-11-04 07:54:18 +01:00 
			
		
		
		
	
		
			
				
	
	
		
			10 lines
		
	
	
		
			297 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			10 lines
		
	
	
		
			297 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
#!/bin/sh
 | 
						|
# Helper script to launch games with gamemode
 | 
						|
 | 
						|
GAMEMODEAUTO_NAME="libgamemodeauto.so.0"
 | 
						|
 | 
						|
# ld will find the right path to load the library, including for 32-bit apps.
 | 
						|
LD_PRELOAD="${GAMEMODEAUTO_NAME}${LD_PRELOAD:+:$LD_PRELOAD}"
 | 
						|
 | 
						|
exec env LD_PRELOAD="${LD_PRELOAD}" $GAMEMODERUNEXEC "$@"
 |