You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
628 B
Plaintext
21 lines
628 B
Plaintext
1 year ago
|
#!/bin/sh
|
||
|
|
||
|
# Installs the AppImage for steam
|
||
|
|
||
|
APP=Steam-x86_64.AppImage
|
||
|
NAME=steam
|
||
|
URL="https://github.com/ivan-hc/Steam-appimage/releases/download/continuous/Steam-x86_64.AppImage"
|
||
|
|
||
|
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
|
||
|
ln -sf $(realpath AppRun) $HOME/.local/bin/$NAME
|
||
|
desktop-file-install --dir="$HOME/.local/share/applications" $NAME.desktop
|
||
|
cd $HOME/.local/share/applications
|
||
|
chmod +x $NAME.desktop
|
||
|
gio set $NAME.desktop "metadata::trusted" true
|