For what it's worth, that script worked for me perfectly out of the box a couple months ago on Debian. This was after spending many hours trying and failing to get MO2 or Vortex running through Protontricks, Steam Tinker Launch, and Lutris.
I used an older version for Skyrim on Fedora, just had to rename main.exe to whatever launcher exe steam uses to launch the game and replace the original
I've tried this before and I hadn't managed to get it to work, but I'm going to try again this week on my Bazzite machine.
For what it's worth, that script worked for me perfectly out of the box a couple months ago on Debian. This was after spending many hours trying and failing to get MO2 or Vortex running through Protontricks, Steam Tinker Launch, and Lutris.
I used an older version for Skyrim on Fedora, just had to rename main.exe to whatever launcher exe steam uses to launch the game and replace the original