#!/bin/sh

# script to install the HYSPLIT shortcut
# to the LINUX desktop. For all users, set
# the directory to /usr/share/applications

DIR=${HOME}/.local/share/applications
OUT=hysplit.desktop
cd ${DIR}

echo "[Desktop Entry]"                             >${OUT} 
echo "Type=Application"                           >>${OUT}
echo "Encoding=UTF-8"                             >>${OUT}
echo "Name=HYSPLIT"                               >>${OUT} 
echo "Comment=HYSPLIT Version 5.0.0"              >>${OUT}
echo "Exec=${HOME}/hysplit/guicode/hysplit.tcl"   >>${OUT}
echo "Icon=${HOME}/hysplit/guicode/desktop.ico"   >>${OUT}
echo "Path=${HOME}/hysplit/working"               >>${OUT}
echo "Terminal=false"                             >>${OUT}
