summaryrefslogtreecommitdiff
path: root/app-emulation/steam/files/kogaion-steam
blob: c243c2b2ebb755545bf3f0c6275569ccbb76fb2b (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/usr/bin/env bash

main () {
	export LD_PRELOAD='/usr/lib64/gcc/x86_64-pc-linux-gnu/4.9.3/32/libstdc++.so.6 /usr/lib64/gcc/x86_64-pc-linux-gnu/4.9.3/32/libgcc_s.so.1 /usr/lib64/gcc/x86_64-pc-linux-gnu/4.9.3/libgcc_s.so.1 /usr/lib64/gcc/x86_64-pc-linux-gnu/4.9.3/32/libstdc++.so.6'
	if  [[ "$(lsmod|grep nvidia)" ]] ; then 
		export LD_LIBRARY_PATH='$LD_LIBRARY_PATH:/usr/lib32/opengl/nvidia/lib:/usr/lib64/opengl/nvidia/lib'
	fi
	export DISPLAY=:0
	steam
}
main