3 ms·
> As for macOS support, I don’t own a Mac, so I can’t build anything for macOS. If you’re a macOS user and want to use seiri, and are familiar with macOS develo
by Cu3PO42 8y ago
> As for macOS support, I don’t own a Mac, so I can’t build anything for macOS. If you’re a macOS user and want to use seiri, and are familiar with macOS development, let me know if you’re interested in being a macOS maintainer.
This is only partially correct. The Electron part should be quite trivial, since it downloads pre-built binaries anyway (and the packaging process works on any platform).
The somewhat tricky part is getting the Rust code to cross compile since you need a macOS SDK. [1] shows how to make it work, though. You can't sign apps that way, which means the user has to go through an extra menu to open it the first time, I don't consider this a problem though.
Alternatively you could always use Travis CI and run your build script in a Mac VM (this is free for public projects).
[1] https://www.reddit.com/r/rust/comments/6rxoty/tutorial_cross_compiling_from_linux_for_osx/ https://www.reddit.com/r/rust/comments/6rxoty/tutorial_cross...