yds12 / tarsila

Pixel art and spritesheet editor
Other
144 stars 7 forks source link

Define process to generate MacOS installer #3

Open yds12 opened 1 year ago

yds12 commented 1 year ago

Define and document a process to generate a MacOS installer, that will be made available with every release.

Hopefully something as easy as the process to generate the debian installer with cargo-deb.

VisenDev commented 1 year ago

I built an executable for Macos by downloading the source code then running cargo build in the directory

yds12 commented 1 year ago

Hi @VisenDev, what cargo-deb does for Debian Linux is to generate a package that also contains information about dependencies so when you "double-click" it, it is automatically installed without requiring any extra steps from the user. I'd like a similar thing for MacOS. I'd imagine that the binary generated with cargo build on Mac still has system dependencies that would need to be pre-installed. So if you try to distribute the executable you generated to some other MacOS user, it probably would not run (unless they happen to have all dependencies installed for other reasons).

rendaoer commented 1 year ago

If possible, what do you guys think about adding a homebrew?

yds12 commented 1 year ago

@rendaoer sounds great, if it's relatively easy to do we should provide this in every release