cargo subcommand to pack a binary to a MacOS .app bundle
Recommended to install with cargo install
:
sh
cargo install cargo-app
to update to the latest version:
sh
cargo install cargo-app --force
```sh USAGE: cargo-app [SUBCOMMAND]
FLAGS: -h, --help Prints help information -V, --version Prints version information
SUBCOMMANDS: help Prints this message or the help of the given subcommand(s) pack Generate .app bundle according to configs in Cargo.toml ```
generate .app bundle according to configs in Cargo.toml
sh
cargo app
```toml [package.metadata.app]
name = "yo"
display_name = "YO"
identifier = "com.company.yo"
icon = "icon.icns"
version = "0.0.0"
bin = "yo"
resources = []
frameworks = [] ```