Update 'steam-install'
fix binary location
This commit is contained in:
@@ -19,5 +19,6 @@ mv squashfs-root $HOME/$NAME
|
|||||||
cd $HOME/$NAME
|
cd $HOME/$NAME
|
||||||
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
|
||||||
|
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
|
gio set "$HOME/.local/share/applications/$NAME.desktop" "metadata::trusted" true
|
||||||
rm -rf /tmp/$APP
|
rm -rf /tmp/$APP
|
||||||
Reference in New Issue
Block a user