mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-25 10:03:03 +01:00
17c7f340b1
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
26 lines
895 B
Bash
26 lines
895 B
Bash
#!/bin/sh
|
|
|
|
# default option.
|
|
if [ -x "`which java`" ]; then
|
|
cd /usr/share/freerapid/ && exec java -jar frd.jar "$@"
|
|
fi
|
|
|
|
# less CPU usage.
|
|
#if [ -x "`which java`" ]; then
|
|
# cd /usr/share/freerapid/ && exec java -Dsun.java2d.opengl=true -jar frd.jar "$@"
|
|
#fi
|
|
|
|
# needed for some distros.
|
|
#if [ -x "`which java`" ]; then
|
|
# cd /usr/share/freerapid/ && exec java -Djava.net.preferIPv4Stack=true -Xmx160m -jar frd.jar "$@"
|
|
#fi
|
|
|
|
# better fonts appearance (smooth fonts).
|
|
#if [ -x "`which java`" ]; then
|
|
# cd /usr/share/freerapid/ && exec java -Dawt.useSystemAAFontSettings=on -Dswing.aatext=true -Djava.net.preferIPv4Stack=true -Xmx160m -jar frd.jar "$@"
|
|
#fi
|
|
|
|
# all options combined.
|
|
#if [ -x "`which java`" ]; then
|
|
# cd /usr/share/freerapid/ && exec java -Dsun.java2d.opengl=true -Dawt.useSystemAAFontSettings=on -Dswing.aatext=true -Djava.net.preferIPv4Stack=true -Xmx160m -jar frd.jar "$@"
|
|
#fi
|