helloSystem / launch

Command line tool to launch applications, will search for .app bundles and .AppDir directories in various directories, and will show launch errors in the GUI
BSD 2-Clause "Simplified" License
16 stars 5 forks source link

When file is +x but cannot be launched, try to open it instead #23

Open probonopd opened 1 year ago

probonopd commented 1 year ago

On some file systems, all files may have +x set. Trying to open a file will lead it to being launched, which ultimately fails.

Hence, whenever launching a file fails, we should try to open it instead.