#!/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=HYSPLIT4"                              >>${OUT} 
echo "Comment=HYSPLIT Version 988"                >>${OUT}
echo "Exec=${HOME}/hysplit4/guicode/hysplit4.tcl" >>${OUT}
echo "Icon=${HOME}/hysplit4/guicode/desktop.ico"  >>${OUT}
echo "Path=${HOME}/hysplit4/working"              >>${OUT}
echo "Terminal=false"                             >>${OUT}
