mirror of
https://github.com/oSoWoSo/DistroHopper.git
synced 2024-08-14 22:46:53 +00:00
Correct path for shortcut creation
This commit is contained in:
parent
2f992c5941
commit
2fa3a1319d
1 changed files with 1 additions and 1 deletions
2
quickemu
2
quickemu
|
@ -607,7 +607,7 @@ function shortcut_create {
|
||||||
VMNAME=$(basename "${VM}" .conf)
|
VMNAME=$(basename "${VM}" .conf)
|
||||||
local LAUNCHER_DIR=""
|
local LAUNCHER_DIR=""
|
||||||
LAUNCHER_DIR="$(dirname "$(realpath "$0")")"
|
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}"
|
cat << EOF > "${filename}"
|
||||||
[Desktop Entry]
|
[Desktop Entry]
|
||||||
Version=1.0
|
Version=1.0
|
||||||
|
|
Loading…
Reference in a new issue