question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

🐧 [Bleeding] Shell scripts are opened in a text editor, but in v23.6.0 they execute

See original GitHub issue

Section of manifest file:

[[actions]]
name = "Red Alert - Linux"
path = "./openra-ra.sh"

It does not make a difference whether or not I include ./ or change the file name to have a .sh or not (the scripts OpenRA comes with have no file extension, I just tried adding it on to test if Itch was searching for .sh). The file is executable, and is of type “shell script”.

On stable Itch v23.6.0, the script executes properly.

On the bleeding version cloned from cave-commands, it just opens it in my text editor, Mousepad.

This may be a side-effect of moving to butler. https://github.com/itchio/itch/issues/1530

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:6

github_iconTop GitHub Comments

1reaction
fasterthanlimecommented, Mar 17, 2018

Seems to work fine in master (just merged a biiiiiiig branch - make sure you have butler HEAD in the bin/ directory).

0reactions
fasterthanlimecommented, Apr 26, 2018

@aaronfranke see https://github.com/itchio/itch/issues/1606#issuecomment-384624938 - if we do go ahead with the linux runtime thing, SDL2 will definitely be part of it (most games link to it dynamically afaict!)

Read more comments on GitHub >

github_iconTop Results From Across the Web

Fixing 'Shell Script Opening in Text Editor' in Ubuntu Linux
Double clicking on shell scripts opens with text editor instead of being executed? Here's what you can do to fix the issue in...
Read more >
Launch editor from a shell script with text - Unix Stack Exchange
I.e., put some prepopulated content in a file, in some way, shape or form then open it with $EDITOR filename command. Do you...
Read more >
Is there a text editor that can run shell scripts? - Ask Ubuntu
Option 1: use vim, emacs, geany, and many more! In vim and use :!bash file.sh or just create a shortcut for it in...
Read more >
The Unix Shell: Shell Scripts - Monash Data Fluency
Objectives. Write a shell script that runs a command or series of commands for a fixed set of files. Run a shell script...
Read more >
Writing Scripts and Working with Data
Use the bash command to execute a shell script. Use chmod to make a script an ... To add text to files, we're...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found