From 5ba5807e079a05d0bb54be83368fe361a86f3be3 Mon Sep 17 00:00:00 2001 From: daleclack Date: Tue, 9 Feb 2021 18:31:58 +0800 Subject: [PATCH] Update icon-install script --- Gtk4/visual-studio-code.desktop | 6 ++++++ icon-install/install-icon.sh | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) create mode 100644 Gtk4/visual-studio-code.desktop diff --git a/Gtk4/visual-studio-code.desktop b/Gtk4/visual-studio-code.desktop new file mode 100644 index 0000000..1851541 --- /dev/null +++ b/Gtk4/visual-studio-code.desktop @@ -0,0 +1,6 @@ +[Desktop Entry] +Type=Application +Name=Example +Icon=exampleapp +StartupNotify=true +Exec=bindir@/exampleapp diff --git a/icon-install/install-icon.sh b/icon-install/install-icon.sh index 7d5572f..e36f419 100644 --- a/icon-install/install-icon.sh +++ b/icon-install/install-icon.sh @@ -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