From 2fa3a1319d51cd9d22a87e064a07bea13ebd71f0 Mon Sep 17 00:00:00 2001 From: Martin Wimpress Date: Wed, 29 Sep 2021 03:31:46 +0100 Subject: [PATCH] Correct path for shortcut creation --- quickemu | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/quickemu b/quickemu index 3a2a4a3..9b35e76 100755 --- a/quickemu +++ b/quickemu @@ -607,7 +607,7 @@ function shortcut_create { VMNAME=$(basename "${VM}" .conf) local LAUNCHER_DIR="" LAUNCHER_DIR="$(dirname "$(realpath "$0")")" - local filename="/home/${USER}/.local/share/applications/${VMNAME}.desktop" + local filename="${HOME}/.local/share/applications/${VMNAME}.desktop" cat << EOF > "${filename}" [Desktop Entry] Version=1.0