?? gpstool.sh
字號(hào):
#!/bin/sh#GPSYLON_VMARGS="-Xmx512m"# Setup the JVMif [ "x$JAVA" = "x" ]; then if [ "x$JAVA_HOME" != "x" ]; then JAVA="$JAVA_HOME/bin/java" else JAVA="java" fifi# find directory where this file is located (needed to find gpsylon jar file)PRG="$0"# resolve links - $0 may be a softlink#while [ -h "$PRG" ]; do# ls=`ls -ld "$PRG"`# link=`expr "$ls" : '.*-> \(.*\)$'`# if expr "$link" : '.*/.*' > /dev/null; then# PRG="$link"# else# PRG=`dirname "$PRG"`/"$link"# fi#done# Get relative directory for gpsylon.shPRGDIR=`dirname "$PRG"`# Get the path to the native librariesLIBPATH=$PRGDIR/lib/native/`uname -s`/`arch`if [ -d "$LIBPATH" ]; then JAVA_LIB=-Djava.library.path=$LIBPATHelse JAVA_LIB="" echo "Warning: Your Plattform `uname -s`/`uname -m` is not supported by this script!" echo "Have a look at ftp://ftp.qbang.org/pub/rxtx/ToyBox to install the missing RXTX Serial Library!" echo "" exit 1fi#echo "PRGDIR is $PRGDIR"$JAVA $JAVA_LIB $GPSYLON_VMARGS -jar $PRGDIR/gpstool-0.5.3.jar "$@"
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -