From 6846e51d85a6d9624f722ec9735386ccbcd0652c Mon Sep 17 00:00:00 2001 From: "e.khramov" Date: Wed, 2 Nov 2022 14:53:01 +0300 Subject: [PATCH] =?UTF-8?q?=D0=B4=D0=BE=D0=B1=D0=B0=D0=B2=D0=BB=D0=B5?= =?UTF-8?q?=D0=BD=D0=B8=D0=B5=20portproton?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- portproton/lure.sh | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/portproton/lure.sh b/portproton/lure.sh index 8b60907..d415915 100644 --- a/portproton/lure.sh +++ b/portproton/lure.sh @@ -15,10 +15,19 @@ sources=("git+https://github.com/Castro-Fidel/PortWINE.git") checksums=('SKIP') prepare() { -cd "${srcdir}" +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 "Type=Application" >>portproton.desktop +echo "Terminal=False" >>portproton.desktop +echo "Categories=Game" >>portproton.desktop +echo "StartupNotify=true" >>portproton.desktop +echo "MimeType=application/x-ms-dos-executable;application/x-wine-extension-msp;application/x-msi;application/x-msdos-program" >>portproton.desktop +echo "Path=$HOME/PortProton/data/scripts/" >>portproton.desktop +echo "Icon=$HOME/PortProton/data/img/w.png" >>portproton.desktop } package() { -#install -Dm755 - +install -Dm755 ./data_from_portwine "${pkgdir}/${HOME}/.local/share/portproton" }