From 678e8644091f8c6cf78b89a70a3e7961a47823f0 Mon Sep 17 00:00:00 2001 From: Francesco Minnocci Date: Sat, 22 Jul 2023 14:40:46 +0000 Subject: [PATCH] Update 'steam-install' --- steam-install | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/steam-install b/steam-install index 43e3d4e..b2c4c9f 100644 --- a/steam-install +++ b/steam-install @@ -6,15 +6,18 @@ APP=Steam-x86_64.AppImage NAME=steam URL="https://github.com/ivan-hc/Steam-appimage/releases/download/continuous/Steam-x86_64.AppImage" +mkdir -p $HOME/.local/bin +echo "export PATH=$PATH:$HOME/.local/bin" >> .bashrc +echo "export PATH=$PATH:$HOME/.local/bin" >> .bash_profile + cd /tmp curl -LO $URL chmod +x $APP ./$APP --appimage-extract -cd squashfs-root -mkdir -p $HOME/.local/bin -echo "export PATH=$PATH:$HOME/.local/bin" >> .bashrc -echo "export PATH=$PATH:$HOME/.local/bin" >> .bash_profile +mv squashfs-root $HOME/$NAME + +cd $HOME/$NAME ln -sf $(realpath AppRun) $HOME/.local/bin/$NAME desktop-file-install --dir="$HOME/.local/share/applications" $NAME.desktop gio set "$HOME/.local/share/applications/$NAME.desktop" "metadata::trusted" true -rm -rf /tmp/$APP /tmp/squashfs-root \ No newline at end of file +rm -rf /tmp/$APP \ No newline at end of file