fogleman / primitive

Reproducing images with geometric primitives.

Home Page:https://primitive.lol/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Mac app

opened this issue · comments

hi,

It's possible to create a Mac app that runs a go script ? How? Thanks a lot

A couple of options:

  1. Build a regular Go binary, launch it via NSTask and communicate over stdin/stdout. https://developer.apple.com/reference/foundation/nstask

  2. Build a shared or static library and link to it. http://blog.ralch.com/tutorial/golang-sharing-libraries/