🐧 [Bleeding] Shell scripts are opened in a text editor, but in v23.6.0 they execute
See original GitHub issueSection 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:
- Created 6 years ago
- Comments:6
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Seems to work fine in master (just merged a biiiiiiig branch - make sure you have butler HEAD in the
bin/
directory).@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!)