From 2a59bd50bdf65ff1de6c805cdd2dc81ec4a57cd1 Mon Sep 17 00:00:00 2001 From: Timon Schelling Date: Tue, 6 Jan 2026 00:46:35 +0000 Subject: [PATCH] Desktop: Capitalize the app directory name on Mac and Windows --- desktop/src/consts.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/desktop/src/consts.rs b/desktop/src/consts.rs index f56b2a2d..d51594ea 100644 --- a/desktop/src/consts.rs +++ b/desktop/src/consts.rs @@ -2,7 +2,10 @@ pub(crate) const APP_NAME: &str = "Graphite"; #[cfg(any(target_os = "linux", target_os = "windows"))] pub(crate) const APP_ID: &str = "art.graphite.Graphite"; +#[cfg(target_os = "linux")] pub(crate) const APP_DIRECTORY_NAME: &str = "graphite"; +#[cfg(not(target_os = "linux"))] +pub(crate) const APP_DIRECTORY_NAME: &str = "Graphite"; pub(crate) const APP_LOCK_FILE_NAME: &str = "instance.lock"; pub(crate) const APP_STATE_FILE_NAME: &str = "state.ron"; pub(crate) const APP_PREFERENCES_FILE_NAME: &str = "preferences.ron";