Fractal Softworks Forum

Please login or register.

Login with username, password and session length
Advanced search  


Starsector 0.9.1a is out! (05/10/19); Blog post: Skills and Story Points (07/08/19)

Author Topic: [Linux] Please add shebang to  (Read 566 times)


  • Lieutenant
  • **
  • Posts: 87
    • View Profile
[Linux] Please add shebang to
« on: July 19, 2018, 07:54:29 AM »

I made a Lutris installer for Starsector, but because the shell script for starting the game on Linux is missing the shebang, Lutris just prints an error (apparently a limitation of Python, according to

For now I worked around that by setting the game executable to jre_linux/bin/java with the relevant arguments, but it'd make it simpler if you could just add
as first line in the script.


  • Admiral
  • *****
  • Posts: 2513
    • View Profile
    • Sc2Mafia
    • Email
Re: [Linux] Please add shebang to
« Reply #1 on: July 19, 2018, 04:06:25 PM »

It’s kind of weird that it’s not there to begin with.


  • Administrator
  • Admiral
  • *****
  • Posts: 14041
    • View Profile
Re: [Linux] Please add shebang to
« Reply #2 on: July 19, 2018, 05:39:27 PM »

Hmm. I'm not sure (50/50 or so) but I seem to recall maybe doing it this way for a reason. Wish I remembered what the reason was, though. It's possible that it didn't work with the #!/bin/sh for whatever reason under some set of circumstances...