Est-il possible d'exécuter un script bash en double-cliquant dessus ? Le shell script s'exécute avec $ ./script.sh
sans problème. Un double-clic sur le script ouvre TextEdit. Il serait intéressant de pouvoir l'exécuter en cliquant dessus...
$ system_profiler SPSoftwareDataType
Software:
System Software Overview:
System Version: macOS 10.13.4 (17E199)
Kernel Version: Darwin 17.5.0
Boot Volume: lily
Boot Mode: Normal
Computer Name: lily’s MacBook Air
User Name: System Administrator (root)
Secure Virtual Memory: Enabled