#!/bin/sh # Do not call the jpackage native launcher here. On some OpenJDK/Linux builds it # aborts during its own teardown and leaves a misleading systemd core dump, even # after the Java application has completed normally. set -eu app_home=/opt/happwner-pc app_dir="$app_home/lib/app" exec "$app_home/lib/runtime/bin/java" \ -Dcompose.application.resources.dir="$app_dir/resources" \ -Dcompose.application.configure.swing.globals=true \ -Dskiko.renderApi=OPENGL \ -Dskiko.library.path="$app_dir" \ -cp "$app_dir/*" \ com.happwner.desktop.MainKt "$@"