Mercurial Hosting > editor
comparison scripts/install.sh @ 57:f91c336cdde5
for windows
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Thu, 29 May 2025 22:29:34 -0600 |
parents | 3f4c3722b78b |
children |
comparison
equal
deleted
inserted
replaced
56:6059b4e22d47 | 57:f91c336cdde5 |
---|---|
16 | 16 |
17 mkdir -p ~/.luan_editor | 17 mkdir -p ~/.luan_editor |
18 | 18 |
19 set +m | 19 set +m |
20 | 20 |
21 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 & | 21 JAVA_OPTS='-Dfoo' |
22 if [[ "\$(uname)" == "Darwin" ]]; then | |
23 JAVA_OPTS='-Xdock:name=Luan Editor' | |
24 fi | |
25 | |
26 java "\$JAVA_OPTS" -Duser.home="$HOME" -classpath \$CLASSPATH luan.Luan classpath:luan_editor/editor.luan "\$@" 2>&1 | grep --line-buffered -v 'NSRemoteView\|NSSavePanel' | tee ~/.luan_editor/error.log & | |
22 End | 27 End |
23 | 28 |
24 chmod +x /usr/local/bin/luan_editor | 29 chmod +x /usr/local/bin/luan_editor |
25 | 30 |
26 echo "the command 'luan_editor' has been installed" | 31 echo "the command 'luan_editor' has been installed" |