Update 'steam-install'

removeproofs
Francesco Minnocci 1 year ago
parent 7e2e3c2640
commit 678e864409

@ -6,15 +6,18 @@ APP=Steam-x86_64.AppImage
NAME=steam NAME=steam
URL="https://github.com/ivan-hc/Steam-appimage/releases/download/continuous/Steam-x86_64.AppImage" 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 cd /tmp
curl -LO $URL curl -LO $URL
chmod +x $APP chmod +x $APP
./$APP --appimage-extract ./$APP --appimage-extract
cd squashfs-root mv squashfs-root $HOME/$NAME
mkdir -p $HOME/.local/bin
echo "export PATH=$PATH:$HOME/.local/bin" >> .bashrc cd $HOME/$NAME
echo "export PATH=$PATH:$HOME/.local/bin" >> .bash_profile
ln -sf $(realpath AppRun) $HOME/.local/bin/$NAME ln -sf $(realpath AppRun) $HOME/.local/bin/$NAME
desktop-file-install --dir="$HOME/.local/share/applications" $NAME.desktop desktop-file-install --dir="$HOME/.local/share/applications" $NAME.desktop
gio set "$HOME/.local/share/applications/$NAME.desktop" "metadata::trusted" true gio set "$HOME/.local/share/applications/$NAME.desktop" "metadata::trusted" true
rm -rf /tmp/$APP /tmp/squashfs-root rm -rf /tmp/$APP
Loading…
Cancel
Save