fix for shortcut presumption

This commit is contained in:
Phil Clifford 2021-11-02 18:39:04 +00:00 committed by Martin Wimpress
parent 87fea6c845
commit 2f8b14d2c7

View File

@ -954,7 +954,12 @@ function vm_boot() {
}
function shortcut_create {
local dirname="${HOME}/.local/share/applications"
local filename="${HOME}/.local/share/applications/${VMNAME}.desktop"
if [ ! -d ${dirname} ]; then
mkdir -p ${dirname}
fi
cat << EOF > "${filename}"
[Desktop Entry]
Version=1.0