mirror of
https://github.com/oSoWoSo/DistroHopper.git
synced 2024-08-14 22:46:53 +00:00
fix for shortcut presumption
This commit is contained in:
parent
87fea6c845
commit
2f8b14d2c7
1 changed files with 5 additions and 0 deletions
5
quickemu
5
quickemu
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue