projects
/
WebThing.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix scrolling functionality
[WebThing.git]
/
WebThing
diff --git
a/WebThing
b/WebThing
index
50e56f3
..
1f48064
100755
(executable)
--- a/
WebThing
+++ b/
WebThing
@@
-1,7
+1,11
@@
#!/bin/sh
#!/bin/sh
-export
LD_LIBRARY_PATH=plugins:$LD_LIBRARY_PATH
+export
WEBTHING_HOME=`dirname "$0"`
-echo $LD_LIBRARY_PATH
+# We change directories because we don't have a proper configuration
+# architecture, yet.
+cd "$WEBTHING_HOME"
-exec mono main.exe "$@"
+export LD_LIBRARY_PATH=$WEBTHING_HOME:$WEBTHING_HOME/plugins:$LD_LIBRARY_PATH
+
+exec mono $WEBTHING_HOME/WebThingMain.exe "$@"