|
@@ -9,13 +9,11 @@ echo "set audiodir \".\"" >> OpenRaider.ini
|
9
|
9
|
echo "set datadir \"../../data\"" >> OpenRaider.ini
|
10
|
10
|
echo "set font \"../../data/test.ttf\"" >> OpenRaider.ini
|
11
|
11
|
|
12
|
|
-set -o xtrace
|
13
|
|
-
|
14
|
12
|
xvfb-run -n 99 -s "-screen 0 640x480x24" ./OpenRaider &
|
15
|
|
-sleep 5 # Wait for OpenRaider to start
|
16
|
|
-
|
|
13
|
+sleep 10 # Wait for OpenRaider to start
|
17
|
14
|
import -window root -display :99.0 screenshot.png
|
18
|
15
|
|
19
|
|
-# Find a better way for this!
|
20
|
|
-ls -la
|
|
16
|
+wget http://imgur.com/tools/imgurbash.sh
|
|
17
|
+chmod a+x ./imgurbash.sh
|
|
18
|
+imgurbash.sh screenshot.png
|
21
|
19
|
|