From 761351661a5b00fec6d2d442c8f36a8c0ca0a6c0 Mon Sep 17 00:00:00 2001 From: Greenpete Date: Sun, 8 Jan 2023 15:50:48 +0000 Subject: [PATCH] Update install script. --- install.sh | 10 +++++++--- python-error.sh | 0 2 files changed, 7 insertions(+), 3 deletions(-) mode change 100644 => 100755 python-error.sh diff --git a/install.sh b/install.sh index 179e8bd..ba465f7 100755 --- a/install.sh +++ b/install.sh @@ -15,9 +15,9 @@ fi # Edit desktop menu file. # First the Execution path... -sed -i "s|Exec=/path/|Exec=/$HOME/bin/Youtube-dl-wrapper/YT-DL.sh|" $pwd/menu.desktop +sed -i "s|Exec=/path/|Exec=$HOME/bin/YT-DL/YT-DL.sh|" $pwd/menu.desktop # Now icon path... -sed -i "s|Icon=/path/|Icon=$pwd/YouTube-DL.svg" $pwd/menu.desktop +sed -i "s|Icon=/path/|Icon=$HOME/bin/YT-DL/YouTube-DL.svg" $pwd/menu.desktop # Check for needed directories... if [ -d ~/bin ]; @@ -32,11 +32,15 @@ fi # copy over the files... cp db.txt ~/bin/YT-DL +cp dbpyer.txt ~/bin/YT-DL/db.txt +cp dbytdl.txt ~/bin/YT-DL/ cp YouTube-DL.svg ~/bin/YT-DL cp YT-DL.sh ~/bin/YT-DL cp LICENSE ~/bin/YT-DL cp README.md ~/bin/YT-DL -cp menu.desktop ~/bin/YT-DL +cp menu.desktop ~/.local/share/applications +cp uninstall.sh ~/bin/YT-DL +cp python-error.sh ~/bin/YT-DL # Check for the python symlink... if [ -f /usr/bin/python ]; diff --git a/python-error.sh b/python-error.sh old mode 100644 new mode 100755