Skip to content

Commit

Permalink
gallery: Add meta-data for cargo-bundle
Browse files Browse the repository at this point in the history
This makes it trivial to create a .app bundle for the gallery, which
enables introspection with macOS' accessibility inspector (among other
things).
  • Loading branch information
tronical committed Mar 21, 2024
1 parent 020eaa4 commit e4d12ca
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions examples/gallery/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ edition = "2021"
build = "build.rs"
license = "MIT"
publish = false
description = "Slint Widgets Gallery Example"

[[bin]]
path = "main.rs"
Expand Down Expand Up @@ -36,3 +37,6 @@ slint-build = { path = "../../api/rs/build" }
#wasm# wasm-bindgen = { version = "0.2" }
#wasm# web-sys = { version = "0.3", features=["console"] }
#wasm# console_error_panic_hook = "0.1.5"

[package.metadata.bundle]
identifier = "com.slint.examples.gallery"

0 comments on commit e4d12ca

Please sign in to comment.