confOS/pacman.d/hooks/honkai-shortcut.hook
2024-05-22 09:59:28 +02:00

10 lines
390 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 on package upgrade
When = PostTransaction
Exec = /bin/sh -c 'sudo sed -i "s/Name=The Honkers Railway Launcher/Name=Honkai Star Rail/g" /usr/share/applications/the-honkers-railway-launcher.desktop'