tarsila icon indicating copy to clipboard operation
tarsila copied to clipboard

Define process to generate MacOS installer

Open yds12 opened this issue 1 year ago • 4 comments

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.

yds12 avatar Mar 18 '23 13:03 yds12

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

VisenDev avatar Mar 19 '23 02:03 VisenDev

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).

yds12 avatar Mar 19 '23 07:03 yds12

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

rendaoer avatar Mar 20 '23 00:03 rendaoer

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

yds12 avatar Mar 20 '23 17:03 yds12