diff --git a/portproton/lure.sh b/portproton/lure.sh index 5f41542..7921a3f 100644 --- a/portproton/lure.sh +++ b/portproton/lure.sh @@ -16,7 +16,7 @@ prepare() { cd "${srcdir}/PortWINE/" echo "[Desktop Entry]" >>portproton.desktop echo "Name=PortProton" >>portproton.desktop -echo "Exec=env /home/e.khramov@odk.local/PortProton/data/scripts/start.sh %F" >>portproton.desktop +echo "Exec=env /home/e.khramov@odk.local/LinuxGaming/PortProton/data/scripts/start.sh %F" >>portproton.desktop echo "Type=Application" >>portproton.desktop echo "Terminal=False" >>portproton.desktop echo "Categories=Game" >>portproton.desktop @@ -29,6 +29,7 @@ echo "Icon=$HOME/PortProton/data/img/w.png" >>portproton.desktop package() { install -Dm644 "${srcdir}/PortWINE/portproton.desktop" "${pkgdir}/${HOME}/.local/share/applications/portproton.desktop" install -dm0755 "${pkgdir}/${HOME}/.local/share/portproton" +ln - "${pkgdir}/${HOME}/.local/share/portproton" "${HOME}/LinuxGaming/PortProton/" cd "${srcdir}/PortWINE/data_from_portwine/" find -type d -exec install -d {,"${pkgdir}/${HOME}/.local/share/portproton/"}{} \; find -type f -exec install -D {,"${pkgdir}/${HOME}/.local/share/portproton/"}{} \;