Crash on MacOS with app bundle

So I have a bundle RPG.app
In Info.plist CFBundleExecutable is easyrpg-setup
RPG.app/Contents/MacOS/easyrpg-setup is
#!/bin/bash
"${0%/*}/easyrpg-player" --window --project-path "${0%/*}/game" --save-path "/$USER/Library/Application Support/Yume Nikki"
It opens a window, puts the game name in the title bar, and crashes after a few seconds no matter which game I put in RPG.app/Contents/MacOS/game

Crash log: https://pastebin.com/raw/7mhCD9N2

Hello.

Oh wow I forgot again to fix this before release:
The save folder must exist, otherwise it will simply crash. :confused:

Put a mkdir -p call before launching the Player.