Desktop: Bundle for Mac and Windows (#3297)

* add bundle for mac os and windows

* Fix bundle name

This name gets used as the display name of the app on mac os, shorter name looks better and is more consistent.

* preserve std out by running bin directly

* bundle placeholder on linux

* fix linux
This commit is contained in:
Timon
2025-10-23 10:39:08 +00:00
committed by GitHub
parent 557df6917d
commit 7fbe440e73
21 changed files with 429 additions and 15 deletions

56
Cargo.lock generated
View File

@@ -2285,7 +2285,15 @@ dependencies = [
"wgpu",
"windows",
"winit",
"winres",
]
[[package]]
name = "graphite-desktop-bundle"
version = "0.0.0"
dependencies = [
"cef-dll-sys",
"plist",
"serde",
]
[[package]]
@@ -2295,6 +2303,28 @@ dependencies = [
"include_dir",
]
[[package]]
name = "graphite-desktop-platform-linux"
version = "0.0.0"
dependencies = [
"graphite-desktop",
]
[[package]]
name = "graphite-desktop-platform-mac"
version = "0.0.0"
dependencies = [
"graphite-desktop",
]
[[package]]
name = "graphite-desktop-platform-win"
version = "0.0.0"
dependencies = [
"graphite-desktop",
"winres",
]
[[package]]
name = "graphite-desktop-wrapper"
version = "0.1.0"
@@ -4086,6 +4116,19 @@ version = "0.3.32"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7edddbd0b52d732b21ad9a5fab5c704c14cd949e5e9a1ec5929a24fded1b904c"
[[package]]
name = "plist"
version = "1.8.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "740ebea15c5d1428f910cd1a5f52cebf8d25006245ed8ade92702f4943d91e07"
dependencies = [
"base64",
"indexmap",
"quick-xml 0.38.3",
"serde",
"time",
]
[[package]]
name = "plotters"
version = "0.3.7"
@@ -4304,6 +4347,15 @@ dependencies = [
"memchr",
]
[[package]]
name = "quick-xml"
version = "0.38.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "42a232e7487fc2ef313d96dde7948e7a3c05101870d8985e4fd8d26aedd27b89"
dependencies = [
"memchr",
]
[[package]]
name = "quinn"
version = "0.11.9"
@@ -6523,7 +6575,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "54cb1e9dc49da91950bdfd8b848c49330536d9d1fb03d4bfec8cae50caa50ae3"
dependencies = [
"proc-macro2",
"quick-xml",
"quick-xml 0.37.5",
"quote",
]