install_factorio_save.sh 407 B

123456789101112131415
  1. #!/bin/bash
  2. # LGSM install_factorio_save.sh function
  3. # Author: Kristian Polso
  4. # Website: https://gameservermanagers.com
  5. # Description: Creates the initial save file for Factorio
  6. local commandname="INSTALL"
  7. local commandaction="Install"
  8. echo ""
  9. echo "Creating initial Factorio savefile"
  10. echo "================================="
  11. sleep 1
  12. check_glibc.sh
  13. "${executabledir}"/factorio --create ${filesdir}/save1