confOS/pacman.d/hooks/honkai-shortcut.hook

11 lines
390 B
Text
Raw Normal View History

2024-05-22 09:59:28 +02:00
[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'