mirror of
https://gitlab.com/amrron/setup-scripts.git
synced 2026-10-17 01:54:00 -04:00
use packetdir for icon
This commit is contained in:
@@ -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 ||
|
||||
|
||||
Reference in New Issue
Block a user