confOS/pacman.d/hooks/honkai-shortcut.hook
2024-09-05 12:51:13 +02:00

10 lines
380 B
Text

[Trigger]
Operation = Install
Operation = Upgrade
Type = Path
Target = usr/share/applications/the-honkers-railway-launcher.desktop
[Action]
Description = Update Honkai launcher desktop entry
When = PostTransaction
Exec = /bin/sh -c '/usr/bin/sed -i "s/Name=The Honkers Railway Launcher/Name=Honkai Star Rail - HSR/g" /usr/share/applications/the-honkers-railway-launcher.desktop'