Commit 02f2d6cc authored by Vitaly Lipatov's avatar Vitaly Lipatov

epm pack Telegram: add symbolic icons

parent 702888ef
......@@ -19,7 +19,7 @@ f=$FPRODUCT
install -D -m755 $f opt/$TPRODUCT/$TPRODUCT || fatal
IPFS_ICONS_URL="ipfs://QmWYv5mMrvpbN9YWpJ2MuK9rEu6crJBP8YvDp1SKxhqLWP?filename=telegram-icons.tar"
IPFS_ICONS_URL="ipfs://QmNV53KfivD8FDMAVVpErNyPrugckgkvGQMRimpNz25Swn?filename=telegram-icons.tar"
if eget $IPFS_ICONS_URL && erc telegram-icons.tar ; then
iconpath=telegram-icons
else
......@@ -34,6 +34,10 @@ for i in 16 32 48 64 128 256 512 ; do
install_file $iconpath/icon$i.png /usr/share/icons/hicolor/${i}x${i}/apps/$iconname.png
done
for i in org.telegram.desktop-attention-symbolic.svg org.telegram.desktop-mute-symbolic.svg org.telegram.desktop-symbolic.svg ; do
install_file $iconpath/$i /usr/share/icons/hicolor/symbolic/apps/$i
done
cat <<EOF | create_file /usr/share/applications/$desktopname.desktop
[Desktop Entry]
Version=1.0
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment