fix: set binary name to 'Goose' for macOS Dock and App Switcher (#75)

Without an explicit [[bin]] section, Cargo uses the package name 'goose2'
as the binary name. macOS uses the process/binary name for the Dock and
App Switcher labels in dev mode, so the app appeared as 'goose2' instead
of 'Goose'.
This commit is contained in:
Matt Toohey
2026-04-02 17:04:19 +11:00
committed by GitHub
parent 096baecd06
commit 8036e814b5
+4
View File
@@ -5,6 +5,10 @@ description = "Goose desktop app"
authors = ["you"]
edition = "2021"
[[bin]]
name = "Goose"
path = "src/main.rs"
[lib]
name = "goose2_lib"
crate-type = ["staticlib", "cdylib", "rlib"]