Can't run the simulator on linux

I'm new to the playdate, and I want to make games for it. I've installed the SDK for linux, and ran the setup script, but It doesn't work. when i try to run it, I get this error

Could not find the program '/home/deck/programming/playdateSDK/PlaydateSDK-2.5.0/bin/PlaydateSimulator' 

I'm running this on a steam deck, which has a few quirks, but the only thing i can think of that could affect this is the read only file system, which I have disabled already.

here is the output of running ls in the SDK directory

bin   C_API   CoreLibs  'Designing for Playdate'  'Designing for Playdate.html'   Disk   Examples  'Inside Playdate'  'Inside Playdate.html'  'Inside Playdate with C.html'   PlaydateSDK.docset   README.md   Resources   SDK_LICENSE.md   setup.sh   VERSION.txt

edit: forgot to mention, the PlaydateSimulator file does exist, but It doesn't run. I'm using plasma, so maybe it just simplifies doesn'trun to not there ¯\_(ツ)_/¯
this is the error i get when i go to the directory and run it manually

./PlaydateSimulator: error while loading shared libraries: libwebkit2gtk-4.0.so.37: cannot open shared object file: No such file or directory

I've tried setting the PLAYDATE_SDK_PATH environment variable to /home/deck/programming/playdate SDK/PlaydateSDK-2.5.0, which is the directory containing the SDK (in case I'm misunderstanding what constitutes the SDK, it's the folder containing the files i showed in the original post)

I've now tried looking up the libwebkit2gtk-4.0.so.37 library from the error, I can't find any file for it from a quick google search, I'm going to keep looking, though if anyone could point me in the right direction it would be much appreciated

edit: nevermind, I managed to find the package, and that solved the issue. I did see a couple of Github issues about the availability of it on Debian based systems, though I haven't looked into it properly.

turns out the desktop file created by the setup script still doesn't work, though I imagine that could be fixed with a bit of tinkering, or just making a new desktop file if necessary, since running the script manually works fine. If I ever end up doing that I'll try to remember to put the file contents here (providing the thread Doesn't get locked, not sure if that happens here)

Not sure why the .desktop file wouldn't work, it's bog standard. I'd guess the Steam Deck is wanting something slightly different here but I'm not sure what that'd be.

Interestingly enough, running via the KDE plasma menu doesn't work, but copying the exec field from the .desktop file and running it works, as well as running it using the drun mode in rofi.