Files
ports/graphics/processing/files/processing.in
T
2026-10-04 04:07:15 +00:00

13 lines
359 B
Bash

#!/bin/sh
# Run the upstream Linux build of Processing under the Linuxulator.
PROCESSING_DIR=%%PREFIX%%/libexec/processing
# The bundled Linux JRE needs a writable sketchbook/settings location.
if [ -z "${XDG_DATA_HOME}" ] && [ -d "${HOME}/.local/share" ]; then
export XDG_DATA_HOME="${HOME}/.local/share"
fi
exec "${PROCESSING_DIR}/bin/Processing" "$@"