Skip to content

Commit

Permalink
update higher level for icon directory
Browse files Browse the repository at this point in the history
observed necessary in KDE Plasma
  • Loading branch information
theofficialgman committed May 10, 2024
1 parent dc879b8 commit 164a16d
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion apps/Celeste64/install
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ sudo chmod +x /usr/local/bin/Celeste64 || error "Failed to make launcher script
sudo cp "$(dirname "$0")/icon-64.png" /usr/local/share/icons/hicolor/64x64/apps/Celeste64.png || error "Failed to install Celeste64 icon!"
sudo cp "$(dirname "$0")/icon-24.png" /usr/local/share/icons/hicolor/24x24/apps/Celeste64.png || error "Failed to install Celeste64 icon!"
# update timestamp of top level icon directory to signal icon cache to be refreshed
sudo touch /usr/local/share/icons/hicolor
sudo touch /usr/local/share/icons

status "Adding to applications menu"

Expand Down
2 changes: 1 addition & 1 deletion apps/PPSSPP (PSP emulator)/install
Original file line number Diff line number Diff line change
Expand Up @@ -36,5 +36,5 @@ fi
make -j$(nproc) || error "Could not build ppsspp"
sudo make install || error "Could not install ppsspp"
# update timestamp of top level icon directory to signal icon cache to be refreshed
sudo touch /usr/local/share/icons/hicolor
sudo touch /usr/local/share/icons
rm -rf /tmp/ppsspp
2 changes: 1 addition & 1 deletion apps/Shattered Pixel Dungeon/install
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ sudo chmod 755 /usr/local/bin/shattered-pixel-dungeon || error "Failed to set sc
sudo cp "$(dirname "$0")/icon-64.png" /usr/local/share/icons/hicolor/64x64/apps/shattered-pixel-dungeon.png || error "Failed to install shattered-pixel-dungeon icon!"
sudo cp "$(dirname "$0")/icon-24.png" /usr/local/share/icons/hicolor/24x24/apps/shattered-pixel-dungeon.png || error "Failed to install shattered-pixel-dungeon icon!"
# update timestamp of top level icon directory to signal icon cache to be refreshed
sudo touch /usr/local/share/icons/hicolor
sudo touch /usr/local/share/icons

echo "[Desktop Entry]
Encoding=UTF-8
Expand Down
2 changes: 1 addition & 1 deletion apps/Snapdrop/install
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ sudo chmod +x /usr/local/bin/snapdrop || error "Failed to set snapdrop launcher
sudo cp "$(dirname "$0")/icon-64.png" /usr/local/share/icons/hicolor/64x64/apps/snapdrop.png || error "Failed to install snapdrop icon!"
sudo cp "$(dirname "$0")/icon-24.png" /usr/local/share/icons/hicolor/24x24/apps/snapdrop.png || error "Failed to install snapdrop icon!"
# update timestamp of top level icon directory to signal icon cache to be refreshed
sudo touch /usr/local/share/icons/hicolor
sudo touch /usr/local/share/icons

echo "[Desktop Entry]
Name=Snapdrop
Expand Down
2 changes: 1 addition & 1 deletion apps/StackEdit/install
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ sudo chmod +x /usr/local/bin/stackedit || error "Failed to set stackedit launche
sudo cp "$(dirname "$0")/icon-64.png" /usr/local/share/icons/hicolor/64x64/apps/stackedit.png || error "Failed to install stackedit icon!"
sudo cp "$(dirname "$0")/icon-24.png" /usr/local/share/icons/hicolor/24x24/apps/stackedit.png || error "Failed to install stackedit icon!"
# update timestamp of top level icon directory to signal icon cache to be refreshed
sudo touch /usr/local/share/icons/hicolor
sudo touch /usr/local/share/icons

echo "[Desktop Entry]
Name=StackEdit
Expand Down
2 changes: 1 addition & 1 deletion apps/WhatsApp/install
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ sudo chmod +x /usr/local/bin/whatsapp || error "Failed to set whatsapp launcher
sudo cp "$(dirname "$0")/icon-64.png" /usr/local/share/icons/hicolor/64x64/apps/whatsapp.png || error "Failed to install whatsapp icon!"
sudo cp "$(dirname "$0")/icon-24.png" /usr/local/share/icons/hicolor/24x24/apps/whatsapp.png || error "Failed to install whatsapp icon!"
# update timestamp of top level icon directory to signal icon cache to be refreshed
sudo touch /usr/local/share/icons/hicolor
sudo touch /usr/local/share/icons

echo "[Desktop Entry]
Name=WhatsApp
Expand Down
2 changes: 1 addition & 1 deletion apps/Zoom PWA/install
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ sudo chmod +x /usr/local/bin/zoom-pwa || error "Failed to set zoom-pwa launcher
sudo cp "$(dirname "$0")/icon-64.png" /usr/local/share/icons/hicolor/64x64/apps/zoom-pwa.png || error "Failed to install zoom-pwa icon!"
sudo cp "$(dirname "$0")/icon-24.png" /usr/local/share/icons/hicolor/24x24/apps/zoom-pwa.png || error "Failed to install zoom-pwa icon!"
# update timestamp of top level icon directory to signal icon cache to be refreshed
sudo touch /usr/local/share/icons/hicolor
sudo touch /usr/local/share/icons

echo "[Desktop Entry]
Name=Zoom PWA
Expand Down
2 changes: 1 addition & 1 deletion apps/jGRASP IDE/install
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ sudo ln -s ../share/jgrasp/bin/jgrasp jgrasp || error "Could not create jgrasp b
sudo cp "$(dirname "$0")/icon-64.png" /usr/local/share/icons/hicolor/64x64/apps/jgrasp.png || error "Failed to install jgrasp icon!"
sudo cp "$(dirname "$0")/icon-24.png" /usr/local/share/icons/hicolor/24x24/apps/jgrasp.png || error "Failed to install jgrasp icon!"
# update timestamp of top level icon directory to signal icon cache to be refreshed
sudo touch /usr/local/share/icons/hicolor
sudo touch /usr/local/share/icons

status "Creating menu button..."
echo "[Desktop Entry]
Expand Down

0 comments on commit 164a16d

Please sign in to comment.