indygreg / apple-platform-rs

Rust crates supporting Apple platform development
595 stars 49 forks source link

Notarization option --api-key-file is not configurable via configuration file #145

Open basilevs opened 6 months ago

basilevs commented 6 months ago

I can't find a way to move static options (those that never change) of rcodesign from command line to configuration file or environment.

At the moment, I'm interested in --api-key-file for notarization and --for-notarization for sign.

indygreg commented 3 weeks ago

We don't yet have config file support for notarization.

The config file schema is designed for extensions like this. We could just add a notarize table or similar for providing settings like --api-key-file.

I would accept a PR to add the missing functionality if someone wants to contribute it.