diff options
author | Vincent Sanders <vince@netsurf-browser.org> | 2009-02-14 12:49:21 +0000 |
---|---|---|
committer | Vincent Sanders <vince@netsurf-browser.org> | 2009-02-14 12:49:21 +0000 |
commit | d6cd92e0ccb2f78ec197e02ba714344951075a41 (patch) | |
tree | 1ee9363a747a65188c0f38831bf7d05eaab94748 /nsfb | |
parent | f90e43e2b05fef6bca65d086a78cec4cee3c0dec (diff) | |
download | netsurf-d6cd92e0ccb2f78ec197e02ba714344951075a41.tar.gz netsurf-d6cd92e0ccb2f78ec197e02ba714344951075a41.tar.bz2 |
Fix resource handling buy copying the GTK approach
Cleanup mouse movement handlig
svn path=/trunk/netsurf/; revision=6486
Diffstat (limited to 'nsfb')
-rwxr-xr-x | nsfb | 25 |
1 files changed, 25 insertions, 0 deletions
@@ -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 <rjek@netsurf-browser.org> + +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 |