
# KDE / GNOME INSTALLER SCRIPT
# To install and compile QDiskUsage
# first run "qmake" in QDiskUsage's directory from the commandline
# followed by make
# then run "bash ./INSTALL"
# this will install QDiskUsage to your home directory with an icon on the desktop!

#NOTE: If you are using qt creator disable the shadow build option
#under the project tab on the side bar to the left
#If you are using QTCreator you can skip the 'qmake' and 'make' steps


# Enjoy!



#!/bin/sh
echo "Installing QDiskUsage to $HOME/QDiskUsage"
mkdir "$HOME/QDiskUsage"

cp QDiskUsage $HOME/QDiskUsage/
cp icon.png $HOME/QDiskUsage/

echo "
#!/usr/bin/env xdg-open
[Desktop Entry]
Comment=A Graphical disk usage analyzer
Exec=$HOME/QDiskUsage/QDiskUsage
GenericName=
Icon=$HOME/QDiskUsage/icon.png
Name=QDiskUsage
NoDisplay=false
StartupNotify=true
Terminal=0
TerminalOptions=
Type=Application
X-KDE-SubstituteUID=false
X-KDE-Username=
" > $HOME/Desktop/QDiskUsage.desktop
