How can i set the WorkingDirectory like systemd

The app has relative paths to read the config, the systemd has WorkingDirectory , does snap has same things?

The easiest way is to create a small wrapper script which does a cd to the required path before execing the application (example below):

#!/bin/bash
cd $(dirname $0)
exec "$@"

thanks, got it. it works