freedoom.wrapper 316 B

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