|
@@ -9,10 +9,12 @@ 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
|
|
-xvfb-run -a -s "+extension RANDR -screen 0 640x480x24" ./OpenRaider &
|
|
12
|
+set -o xtrace
|
|
13
|
+
|
|
14
|
+xvfb-run -n 99 -s "-screen 0 640x480x24" ./OpenRaider &
|
13
|
15
|
sleep 5 # Wait for OpenRaider to start
|
14
|
16
|
|
15
|
|
-import -window root screenshot.png
|
|
17
|
+import -window root -display :99.0 screenshot.png
|
16
|
18
|
|
17
|
19
|
# Find a better way for this!
|
18
|
20
|
ls -la
|