nannou-org/nannou
View on GitHubProvide an easy way of generating universal binaries for each platform
Open
#450 opened on Feb 15, 2020
good first issueuser experience
Description
It would be great if there was an easy way to package nannou exes into easily distributable apps. Perhaps nannou-package could be progressively enhanced to be capable of doing this.
It will likely be the case that users will only be able to generate apps for the platform they are currently building on, however it may be possible to cross-compile and build for other targets in some cases.
- Determine what universal binary format we should target on each platform. E.g.
.appfat binary on macOS, perhapsAppImageon Linux, not sure about Windows. - Determine what the process is for building each of these. I believe macOS requires xcode to do this. I would imagine
AppImageis easy on Linux. Not sure about Windows. - Investigate how other Rust libraries/frameworks currently approach this. See if there are already efforts at automating this process.
- Add a section to the guide so that users can easily find out how to do this manually in the meantime.
- Automate the process where possible within
nannou-package. - Investigate process for
iOSandAndroid. Better to address #444 first.