Fractal Softworks Forum
November 17, 2018, 01:46:15 AM *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: Starsector 0.9a is out! (11/16/18)
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: [Linux] Please add shebang to starsector.sh  (Read 252 times)
null
Lieutenant
**
Posts: 86



View Profile
« 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 https://github.com/lutris/lutris/issues/306).

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
Code:
#!/bin/sh
as first line in the starsector.sh script.
Logged
Dark.Revenant
Admiral
*****
Posts: 2418



View Profile WWW Email
« Reply #1 on: July 19, 2018, 04:06:25 PM »

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

Alex
Administrator
Admiral
*****
Posts: 12096


View Profile
« 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...
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.20 | SMF © 2006-2011, Simple Machines
Simple Audio Video Embedder
Valid XHTML 1.0! Valid CSS!