Mercurial Hosting > editor
annotate scripts/mac/launcher @ 61:2bad9a272edc
minor
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Wed, 04 Jun 2025 23:15:01 -0600 |
parents | 855669ece914 |
children | a4a97e8c204f |
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 | |
61 | 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 |
60 | 13 |
14 exit ${PIPESTATUS[0]} |