cargo-packager icon indicating copy to clipboard operation
cargo-packager copied to clipboard

target specific cargo.toml metadata

Open 8MiYile opened this issue 5 months ago • 3 comments

exaample

[target.'x86_64-unknown-linux-gnu'.package.metadata.packager]
icons = ["build/linux/icons/*"]

[target.'cfg(target_os = "macos")'.package.metadata.packager]
icons = ["build/macos/icons/*"]

8MiYile avatar Jul 25 '25 03:07 8MiYile

can you expand your question a bit? i'm not sure i get what you're asking for here.

FabianLars-crabnebula avatar Jul 29 '25 10:07 FabianLars-crabnebula

The meaning is that during compilation, we can use the target tag to assign specific parameters

8MiYile avatar Jul 29 '25 10:07 8MiYile

ah okay, i get it

FabianLars-crabnebula avatar Jul 29 '25 19:07 FabianLars-crabnebula