use packetdir for icon

This commit is contained in:
tb14
2025-03-29 12:46:05 -05:00
parent 4b140c2253
commit aa3caa7f01
+2 -2
View File
@@ -2543,7 +2543,7 @@ chmod +x $PACKETDIR/QtTermTCP ||
{ ERRCODE="Failed to make QTtermTCP executable"; errors; return; }
if [[ ! -f $USERDIR/icons/qttermtcp_icon.png ]]; then
mkdir -p $USERDIR/icons && wget --no-check-certificate -O $USERDIR/icons/qttermtcp.png -N https://static-00.iconduck.com/assets.00/terminal-icon-256x256-5xq7v80y.png ||
mkdir -p $PACKETDIR/icons && wget --no-check-certificate -O $PACKETDIR/icons/qttermtcp.png -N https://static-00.iconduck.com/assets.00/terminal-icon-256x256-5xq7v80y.png ||
{ ERRCODE="Failed to icon image for QtTermTCP"; errors; }
fi
@@ -2553,7 +2553,7 @@ GenericName=QtTermTCP
Comment=Terminal for packet.
Path=$PACKETDIR/
Exec=$PACKETDIR/QtTermTCP
Icon=$USERDIR/icons/qttermtcp.png
Icon=$PACKETDIR/icons/qttermtcp.png
Terminal=false
Type=Application
Categories=Radio;" > $HOME/Desktop/qttermtcp.desktop ||