projects
/
pwl6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Switch back to mediump, which works (better) on iOS.
[pwl6.git]
/
tools
/
nw-linux-wrapper
diff --git
a/tools/nw-linux-wrapper
b/tools/nw-linux-wrapper
index
d13e39f
..
e195611
100755
(executable)
--- a/
tools/nw-linux-wrapper
+++ b/
tools/nw-linux-wrapper
@@
-10,6
+10,7
@@
SELF=$(readlink -f "$0")
NWDIR=$(dirname "$SELF")/nw
NWBIN=$(command -v "$NWDIR/nw" nw | head -n 1)
SELF=$(readlink -f "$0")
NWDIR=$(dirname "$SELF")/nw
NWBIN=$(command -v "$NWDIR/nw" nw | head -n 1)
+NWFLAGS="--enable-webgl --ignore-gpu-blacklist"
PACKAGE="$NWDIR/package.nw"
if [ ! -x "$NWBIN" ]; then
PACKAGE="$NWDIR/package.nw"
if [ ! -x "$NWBIN" ]; then
@@
-17,9
+18,9
@@
if [ ! -x "$NWBIN" ]; then
exit 127
fi
exit 127
fi
-"$NWBIN" "$@" "$PACKAGE"
+"$NWBIN"
$NWFLAGS
"$@" "$PACKAGE"
if [ "$?" = "127" -a -w "$NWBIN" ]; then
echo "Applying libudev.so.1 hack." >&2
sed -i 's/udev\.so\.0/udev.so.1/g' "$NWBIN"
if [ "$?" = "127" -a -w "$NWBIN" ]; then
echo "Applying libudev.so.1 hack." >&2
sed -i 's/udev\.so\.0/udev.so.1/g' "$NWBIN"
- "$NWBIN" "$@" "$PACKAGE"
+ "$NWBIN"
$NWFLAGS
"$@" "$PACKAGE"
fi
fi