Update icon-install script

This commit is contained in:
daleclack 2021-02-09 18:31:58 +08:00
parent 0ffe3d916f
commit 5ba5807e07
2 changed files with 8 additions and 2 deletions

View File

@ -0,0 +1,6 @@
[Desktop Entry]
Type=Application
Name=Example
Icon=exampleapp
StartupNotify=true
Exec=bindir@/exampleapp

View File

@ -1,5 +1,5 @@
sudo cp ./gtk4-icon.png /usr/share/icons/hicolor/48x48/apps/gtk4-icon.png
sudo cp ./gtk4-icon.svg /usr/share/icons/hicolor/scalabale/apps/gtk4-icon.svg
sudo cp ./gtk4-icon.svg /usr/share/icons/hicolor/symbolic/apps/gtk4-icon-symbolic.svg
sudo gtk-update-icon-cache
sudo gtk4-update-icon-cache
sudo gtk-update-icon-cache -f -t /usr/share/icons/hicolor
sudo gtk4-update-icon-cache -f -t /usr/share/icons/hicolor