diff options
author | crasm | 2017-08-01 21:59:54 -0400 |
---|---|---|
committer | crasm | 2017-08-01 21:59:54 -0400 |
commit | 236db4f6828ce894b07e692e8e21a8dfa11338f7 (patch) | |
tree | 8ca220d2ff68b86fd370887b90a2c39b91c7706c /launcher.sh | |
download | aur-fim-cli.tar.gz |
Initial commit
Diffstat (limited to 'launcher.sh')
-rwxr-xr-x | launcher.sh | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/launcher.sh b/launcher.sh new file mode 100755 index 000000000000..fe0db636a8b0 --- /dev/null +++ b/launcher.sh @@ -0,0 +1,29 @@ +#!/bin/sh +#----------------------------------------------------------------------------------------------------------------------- +# This file is part of Fim - File Integrity Manager +# +# Copyright (C) 2017 Etienne Vrignaud +# +# Fim is free software: you can redistribute it and/or modify +# it under the terms of the GNU General Public License as published by +# the Free Software Foundation, either version 3 of the License, or +# (at your option) any later version. +# +# Fim is distributed in the hope that it will be useful, +# but WITHOUT ANY WARRANTY; without even the implied warranty of +# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +# GNU General Public License for more details. +# +# You should have received a copy of the GNU General Public License +# along with Fim. If not, see <https://www.gnu.org/licenses/>. +#----------------------------------------------------------------------------------------------------------------------- + +if type tput > /dev/null 2>&1; then + export TERMINAL_COLUMNS=$(tput cols) +fi + +JAVA_OPTIONS="-Xmx2g -XX:MaxMetaspaceSize=128m" + +java ${JAVA_OPTIONS} -jar "/usr/lib/fim/fim.jar" "$@" + +#----------------------------------------------------------------------------------------------------------------------- |