summarylogtreecommitdiffstats
path: root/next.sh
blob: 30b28d18b99dd005d6ac59fb46d8ad88ae855409 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/bash

# Put your SDL2 Config string into this file so it gets automatically set at start
file="$HOME/neXt/controllerconfigs.txt"
if [ -e "$file" ]; then
	contents="`cat $file`";
	export SDL_GAMECONTROLLERCONFIG="$contents";
	echo "Set SDL_GAMECONTROLLERCONFIG to $contents";
else
        echo "No ~/neXt/controllerconfigs.txt found";
fi;


cd /opt/next/
./neXt.x86_64