Commit 8d720a3b authored by Vitaly Lipatov's avatar Vitaly Lipatov

epm pack ayugram: cleanup

parent 22bbcc76
...@@ -19,12 +19,13 @@ chmod 0755 opt/$PRODUCT/$PRODUCT ...@@ -19,12 +19,13 @@ chmod 0755 opt/$PRODUCT/$PRODUCT
iconpath=https://github.com/AyuGram/AyuGramDesktop/raw/dev/Telegram/Resources/art iconpath=https://github.com/AyuGram/AyuGramDesktop/raw/dev/Telegram/Resources/art
#fi #fi
iconname=$PRODUCT desktopname=com.ayugram
iconname=$desktopname
for i in 16 32 48 64 128 256 512 ; do 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 install_file $iconpath/icon$i.png /usr/share/icons/hicolor/${i}x${i}/apps/$iconname.png
done done
cat <<EOF | create_file /usr/share/applications/com.ayugram.desktop cat <<EOF | create_file /usr/share/applications/$desktopname.desktop
[Desktop Entry] [Desktop Entry]
Version=1.0 Version=1.0
Name=AyuGram Desktop Name=AyuGram Desktop
......
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