Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 28 additions & 0 deletions bin/projections-hidpi
Original file line number Diff line number Diff line change
@@ -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 $*