Update 'steam-install'

fix binary location
This commit is contained in:
2023-07-22 14:49:55 +00:00
parent 678e864409
commit 212d9013df
+1
View File
@@ -19,5 +19,6 @@ 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
sed -i "s|Exec=$NAME|Exec=$HOME/.local/bin/$NAME|g" $HOME/.local/share/applications/$NAME.desktop
gio set "$HOME/.local/share/applications/$NAME.desktop" "metadata::trusted" true
rm -rf /tmp/$APP