summaryrefslogtreecommitdiffstats
path: root/src/testApp.sh
diff options
context:
space:
mode:
authorNiklas Goby2011-02-22 14:40:04 +0100
committerNiklas Goby2011-02-22 14:40:04 +0100
commit8fbc4f6ca1ac9d9ed680248a04f00a91f917cf43 (patch)
tree80273e70ea61aba1daca22aeb5cb751eac0d9a20 /src/testApp.sh
parentSimplified printing of the application path; more cleanup (diff)
downloadfbgui-8fbc4f6ca1ac9d9ed680248a04f00a91f917cf43.tar.gz
fbgui-8fbc4f6ca1ac9d9ed680248a04f00a91f917cf43.tar.xz
fbgui-8fbc4f6ca1ac9d9ed680248a04f00a91f917cf43.zip
changes in the fbbrowser class, added some slots for the jsOject and signals in the jsObject
Diffstat (limited to 'src/testApp.sh')
-rwxr-xr-xsrc/testApp.sh27
1 files changed, 0 insertions, 27 deletions
diff --git a/src/testApp.sh b/src/testApp.sh
deleted file mode 100755
index ccd7cd6..0000000
--- a/src/testApp.sh
+++ /dev/null
@@ -1,27 +0,0 @@
-#!/bin/sh
-# This script now needs to have the URL to load as an argument.
-if [ $# = 0 ]; then
- echo "No URL passed, exiting..."
- exit
-fi
-
-script_path="$(cd "${0%/*}" 2>/dev/null; echo "$PWD"/"${0##*/}")"
-
-# to get the path only - not the script name - add
-working_path=`dirname "$script_path"`
-
-# Start QT's virtual framebuffer
-/usr/local/Trolltech/Qt-4.7.1/bin/qvfb -width 800 -height 600 &
-# Wait for it to load (needed?)
-sleep 1
-# Start the fbbrowser app.
-# This requires the fbgui git repository to be in the user's home directory.
-$working_path/fbgui -qws $1
-# Check if fbbrowser is not running, if so kill the qvfb.
-if [ $(ps aux | grep -v grep | grep -c fbgui) -eq 1 ]
-then
- echo "fbgui is still running ..."
-else
- echo "fbgui stopped running, killing qvfb ..."
- killall qvfb
-fi