From d6cd92e0ccb2f78ec197e02ba714344951075a41 Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Sat, 14 Feb 2009 12:49:21 +0000 Subject: Fix resource handling buy copying the GTK approach Cleanup mouse movement handlig svn path=/trunk/netsurf/; revision=6486 --- nsfb | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100755 nsfb (limited to 'nsfb') diff --git a/nsfb b/nsfb new file mode 100755 index 000000000..7e2ded095 --- /dev/null +++ b/nsfb @@ -0,0 +1,25 @@ +#!/bin/sh +# This file is part of NetSurf, http://netsurf-browser.org/ +# Licensed under the GNU General Public License, +# http://www.opensource.org/licenses/gpl-license +# Copyright 2007 Rob Kendrick + +if [ -d ~/.netsurf ]; then + LOG=~/.netsurf/log.txt +elif [ -d /tmp ]; then + LOG=/tmp/netsurf-log.txt +else + LOG=netsurf-log.txt +fi + +if [ -x nsfb-sdl ]; then +TYPE=-sdl +elif [ -x nsfb-linux ]; then +TYPE=-linux +elif [ -x nsfb-dummy ]; then +TYPE=-dummy +fi + +NETSURFRES=$(dirname $0)/framebuffer/res/ +export NETSURFRES +exec $(dirname $0)/nsfb${TYPE} "$@" 2>$LOG -- cgit v1.2.3