Package a Node.js application as an OS X application

前端 未结 5 1047
旧时难觅i
旧时难觅i 2021-02-01 07:06

I want to build an interface for a series of terminal commands that our developers use to manage their development environments. I\'d like to try to build it in Node.js.

5条回答
  •  不知归路
    2021-02-01 07:38

    If you compile node.js from source every JavaScript file from nodes lib folder will be included into the binary. That same way could pack your code into the binary.

    I am not familar how Mac OSX packages are created, but at the end it does not seem to be very hard. Just pack your custom node binary into one.

提交回复
热议问题