1. Tero Koskinen
  2. mobile-browser-feedreader

Commits

romaxa  committed c0a58cf

Added workaround for starting fennec in native mode

  • Participants
  • Parent commits 53338f9
  • Branches LATEST_UPSTREAM

Comments (0)

Files changed (1)

File debian/fennec.sh.in

View file
   ARGS="$ARGS -style $STYLE"
 fi
 
+# Wr for system cmdline args
+CMDARGS=`echo $@ | sed 's/-graphicssystem raster -software -style windows//'`
+
 # Make sure we have a mozilla specific temp directory
 # and use it for Fennec
 if ! test -d $HOME/.mozilla/temp; then
 # (i.e. fall back to using LANG to set system language for fennec)
 export LANG=`gconftool-2 --get /meegotouch/i18n/language`
 export LD_LIBRARY_PATH=${XULRUNNERPATH}:$LD_LIBRARY_PATH
-/usr/lib/fennec/fennec $ARGS "$@"
+/usr/lib/fennec/fennec $ARGS "$CMDARGS"