|
@@ -0,0 +1,22 @@
|
|
1
|
+#!/bin/bash
|
|
2
|
+
|
|
3
|
+cd build
|
|
4
|
+cd src
|
|
5
|
+
|
|
6
|
+export DISPLAY=:99.0
|
|
7
|
+sh -e /etc/init.d/xvfb start
|
|
8
|
+
|
|
9
|
+echo "set basedir \".\"" > OpenRaider.ini
|
|
10
|
+echo "set pakdir \".\"" >> OpenRaider.ini
|
|
11
|
+echo "set audiodir \".\"" >> OpenRaider.ini
|
|
12
|
+echo "set datadir \".\"" >> OpenRaider.ini
|
|
13
|
+echo "set font \"../../data/test.ttf\"" >> OpenRaider.ini
|
|
14
|
+
|
|
15
|
+./OpenRaider &
|
|
16
|
+sleep 5 # Wait for OpenRaider to start
|
|
17
|
+
|
|
18
|
+import -window root screenshot.png
|
|
19
|
+
|
|
20
|
+# Find a better way for this
|
|
21
|
+uuencode screenshot.png | mail -s "Screenshot" xythobuz@xythobuz.de
|
|
22
|
+
|