diff --git a/scripts/README.md b/scripts/README.md index 266d618..75ef8d3 100644 --- a/scripts/README.md +++ b/scripts/README.md @@ -29,6 +29,16 @@ To update, run: gpd-script-update ``` +### "Install" TDP manager + +The TDP manager has a GUI. This can be installed into your application menu like other software by running the following command after installing this script collection: + +``` +tdp-gui-install +``` + +You should then find the TDP manager in your application menu like any other piece of software. + ### Manual install - Clone the repository somewhere diff --git a/scripts/tdp-installer b/scripts/tdp-gui-install similarity index 96% rename from scripts/tdp-installer rename to scripts/tdp-gui-install index edc3889..ec1f480 100755 --- a/scripts/tdp-installer +++ b/scripts/tdp-gui-install @@ -16,9 +16,9 @@ Exec=bash -c 'export PATH=\"\$PATH:${HOME}/.local/gpd-win3/scripts\";${HOME}/.lo finish_message="A .desktop file has been installed in ~/.local/share/applications/ " -if [ -z $(which zenity 2>/dev/null) ] || [ -z $(which tdp 2>/dev/null) ] || [ -z $(which git 2>/dev/null) ]; then +if [ -z $(which zenity 2>/dev/null) ] || [ -z $(which tdp 2>/dev/null) ]; then echo "Missing Zenity, or script collection is not properly installed." - echo "Make sure the scripts are in ${HOME}/.local/gpd-win3/scripts" + echo "Make sure the scripts are in ${HOME}/.local/gpd-win3/scripts and added to your PATH" else if zenity --question --title=:"$gui_title" --width=$gui_width --text="This installer will add a desktop entry for the TDP manager's GUI. Meaning you will be able to launch it from your application menu like any other software.\n\nDo you wish to proceed?"; then if zenity --question --title="$gui_title" --width=$gui_width --text="This script collection does not include icons. Do you have your own icon (.png or .svg) that should be used?\nIf you have, answer yes, then select it.\n\nIf unsure, answer no."; then