[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 '/usr/bin/sed -i "s/Name=The Honkers Railway Launcher/Name=Honkai Star Rail/g" /usr/share/applications/the-honkers-railway-launcher.desktop'