diff --git a/bin/projections-hidpi b/bin/projections-hidpi new file mode 100755 index 00000000..0d2f1845 --- /dev/null +++ b/bin/projections-hidpi @@ -0,0 +1,28 @@ +#!/bin/bash + +jarpath="`dirname $0`/projections.jar" + +if [[ ! -f $jarpath ]]; then + echo "'$jarpath' is missing. Did you run 'make'?" + exit 1 +fi + +if test -x /usr/bin/cygpath +then + if test "`uname -o`" = "Cygwin" + then + jarpath=`/usr/bin/cygpath -w -a $jarpath` + fi +fi + +IS_WAYLAND=`env | grep -i wayland` +if [ -n "$IS_WAYLAND" ] +then + export _JAVA_AWT_WM_NONREPARENTING=1 +fi + +#java -Xms4G -Xmx4G -ms4G -mx4G -XX:+UseParallelGC -classpath $jarpath projections.analysis.ProjMain $* +java -Dapple.awt.application.name="Projections" -Dsun.java2d.uiScale=2 -Xms2G -Xmx5G -ms2G -mx5G -classpath $jarpath projections.analysis.ProjMain ${1+"$@"} +#java -classpath $jarpath projections.analysis.ProjMain $* + +#java -d64 -Xms2G -Xmx5G -ms2G -mx5G -classpath $jarpath projections.gui.OrderedIntList $*