fix for shortcut presumption
This commit is contained in:
parent
87fea6c845
commit
2f8b14d2c7
5
quickemu
5
quickemu
@ -954,7 +954,12 @@ function vm_boot() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function shortcut_create {
|
function shortcut_create {
|
||||||
|
local dirname="${HOME}/.local/share/applications"
|
||||||
local filename="${HOME}/.local/share/applications/${VMNAME}.desktop"
|
local filename="${HOME}/.local/share/applications/${VMNAME}.desktop"
|
||||||
|
|
||||||
|
if [ ! -d ${dirname} ]; then
|
||||||
|
mkdir -p ${dirname}
|
||||||
|
fi
|
||||||
cat << EOF > "${filename}"
|
cat << EOF > "${filename}"
|
||||||
[Desktop Entry]
|
[Desktop Entry]
|
||||||
Version=1.0
|
Version=1.0
|
||||||
|
Loading…
Reference in New Issue
Block a user