Desktop: Register the Graphite app as a file handler on Mac (#4106)

* Desktop: Implement native file open handler

* Desktop: Register file types on Mac

* Review
This commit is contained in:
Timon
2026-05-06 13:05:30 +00:00
committed by GitHub
parent 8ae8c47fe1
commit 1c2ac19b16
7 changed files with 213 additions and 33 deletions
+2
View File
@@ -10,6 +10,8 @@ pub(crate) enum AppEvent {
NodeGraphExecutionResult(NodeGraphExecutionResult),
Exit,
#[cfg(target_os = "macos")]
AddLaunchDocuments(Vec<std::path::PathBuf>),
#[cfg(target_os = "macos")]
MenuEvent {
id: String,
},