[Solved] Running a shell script before launching a game and after exiting that game

I thought it will be easy to do that as there's already options for both (launch & exit). But I cant get it to work. I wanna use ludusavi which was installed using flatpak.
Ludusavi already had a guide for heroic but I cant get it to work so I was thinking about creating my own script.
Heroic is installed as native package.
Distro: Fedora 42 KDE
Was this page helpful?
[Solved] Running a shell script before launching a game and after exiting that game - Heroic Games Launcher