Equivalent of double-clickable .sh and .bat on Mac?

后端 未结 4 1475
无人共我
无人共我 2021-01-31 18:49

I am distributing a Java program where I want a double-clickable file to run

java -cp MyProgram.jar;MyLib.jar my.program.Main

On Windows I simp

4条回答
  •  梦如初夏
    2021-01-31 19:04

    On mac, there is a specific extension for executing shell scripts by double clicking them: this is .command.

提交回复
热议问题