Mercurial Hosting > editor
annotate scripts/mac/launcher @ 60:855669ece914
start mac installer
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Wed, 04 Jun 2025 22:24:57 -0600 |
parents | |
children | 2bad9a272edc |
rev | line source |
---|---|
60 | 1 #!/bin/bash |
2 set -e | |
3 | |
4 DIR="$(cd "$(dirname "$0")/../Resources" && pwd)" | |
5 | |
6 export DICTIONARIES="$DIR/dictionaries/" | |
7 | |
8 for i in "$DIR"/jars/* ; do CLASSPATH="$CLASSPATH:$i" ; done | |
9 | |
10 mkdir -p ~/.luan_editor | |
11 | |
12 java -Xdock:name="Luan Editor" -classpath "$CLASSPATH" luan.Luan classpath:luan_editor/editor.luan "$@" 2>&1 | grep --line-buffered -v 'NSRemoteView\|NSSavePanel' | tee ~/.luan_editor/error.log | |
13 | |
14 exit ${PIPESTATUS[0]} |