- #!/bin/bash
- # copy default settings if they don't currently exist
- if [[ ! -f "$SNAP_USER_DATA/.config/lzdoom/lzdoom.ini" ]]; then
- mkdir $SNAP_USER_DATA/.config 2>/dev/null
- mkdir $SNAP_USER_DATA/.config/lzdoom 2>/dev/null
- cp $SNAP/config/lzdoom.ini $SNAP_USER_DATA/.config/lzdoom/lzdoom.ini
- fi
- lzdoom $@
|