mirror of
https://github.com/oSoWoSo/DistroHopper.git
synced 2024-08-14 22:46:53 +00:00
🐛 fix(dh): set correct icon path for hop icon
The icon path for the hop icon was not set correctly in some parts of the code. The variable $icon_file was not defined, so the icon path was not being set correctly. The correct path is now set to $DH_ICON_DIR/hop.svg.
This commit is contained in:
parent
1717296740
commit
16b193dee3
1 changed files with 3 additions and 3 deletions
6
dh
6
dh
|
@ -154,7 +154,7 @@ EOF
|
||||||
if [ "$interminal" == "yes" ]; then
|
if [ "$interminal" == "yes" ]; then
|
||||||
terminal='true'
|
terminal='true'
|
||||||
fi
|
fi
|
||||||
icon='hop'
|
icon="$DH_ICON_DIR/hop.svg"
|
||||||
categories='System;Virtualization;'
|
categories='System;Virtualization;'
|
||||||
desktop_entry_create
|
desktop_entry_create
|
||||||
sudo cp ${TMP_DIR}/dh.desktop /usr/share/applications/
|
sudo cp ${TMP_DIR}/dh.desktop /usr/share/applications/
|
||||||
|
@ -322,7 +322,7 @@ EOF
|
||||||
else
|
else
|
||||||
execmd="sh -c 'cd $VMS_DIR && yad --form --separator=\" \" --field=\"Release:CB\" \"${releases// /$replace}\" --field=\"Edition:CB\" \"${editions// /$replace}\" | xargs -I{} sh -c \"${portable_prefix}quickget $get_name {}\";$SHELL'"
|
execmd="sh -c 'cd $VMS_DIR && yad --form --separator=\" \" --field=\"Release:CB\" \"${releases// /$replace}\" --field=\"Edition:CB\" \"${editions// /$replace}\" | xargs -I{} sh -c \"${portable_prefix}quickget $get_name {}\";$SHELL'"
|
||||||
fi
|
fi
|
||||||
icon='hop'
|
icon="$icon_file"
|
||||||
categories='System;Virtualization;'
|
categories='System;Virtualization;'
|
||||||
desktop_entry_create
|
desktop_entry_create
|
||||||
done < "$DH_CONFIG_DIR"/supported.md
|
done < "$DH_CONFIG_DIR"/supported.md
|
||||||
|
@ -376,7 +376,7 @@ EOF
|
||||||
--button="Exit":0 &
|
--button="Exit":0 &
|
||||||
yad --dynamic --notebook --key="$key" --monitor --listen --no-buttons \
|
yad --dynamic --notebook --key="$key" --monitor --listen --no-buttons \
|
||||||
--mouse --selectable-labels \
|
--mouse --selectable-labels \
|
||||||
--window-icon="$DH_ICON_DIR"/hop.svg --width=900 --height=900 \
|
--window-icon="$DH_ICON_DIR/hop.svg" --width=900 --height=900 \
|
||||||
--title="DistroHopper" --tab="run VM" --tab="download VM" --tab="Options"
|
--title="DistroHopper" --tab="run VM" --tab="download VM" --tab="Options"
|
||||||
# posible: --undecorated --fixed ontop --buttons-layout=spread edge start end center --keep-icon-size --image=IMAGE --splash
|
# posible: --undecorated --fixed ontop --buttons-layout=spread edge start end center --keep-icon-size --image=IMAGE --splash
|
||||||
VAR1="$?"
|
VAR1="$?"
|
||||||
|
|
Loading…
Reference in a new issue