Add README instructions and rename installer

This commit is contained in:
Quad 2021-05-22 23:06:57 +02:00
parent fe756f8817
commit 670a093097
2 changed files with 12 additions and 2 deletions

View File

@ -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

View File

@ -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