Skip to content

Instantly share code, notes, and snippets.

@joerx
Last active August 29, 2015 14:02
Show Gist options
  • Save joerx/15dd2ef03111f599038c to your computer and use it in GitHub Desktop.
Save joerx/15dd2ef03111f599038c to your computer and use it in GitHub Desktop.
Astah Community launcher script and .desktop
#!/bin/sh
JAR=/opt/astah_community/astah-community.jar
JAVA_OPTS="-Xms16m -Xmx384m"
${JAVA_HOME}/bin/java $JAVA_OPTS -jar $JAR $1 $2 $3
[Desktop Entry]
Encoding=UTF-8
Name=Astah* Community
Comment=Easy to use UML2.x modeler
Comment[ja]=UMLの学習に最適な個人向けツールです
Exec=astah
Icon=/opt/astah_community/astah.ico
NoDisplay=false
Terminal=false
Type=Application
Categories=Application;Development;
MimeType=application/astah
@joerx
Copy link
Author

joerx commented Jun 23, 2014

Instructions:

  • Download Astah Community zip-distribution from http://astah.net/download, unzip into /opt.
  • Shell launcher script into PATH (e.g. /usr/local/bin)
  • Desktop entry in either /usr/share/applications or ~/.local/share/applications

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment