Skip to content

Commit 2a59bd5

Browse files
Desktop: Capitalize the app directory name on Mac and Windows
1 parent cf85ec7 commit 2a59bd5

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

desktop/src/consts.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,10 @@ pub(crate) const APP_NAME: &str = "Graphite";
22
#[cfg(any(target_os = "linux", target_os = "windows"))]
33
pub(crate) const APP_ID: &str = "art.graphite.Graphite";
44

5+
#[cfg(target_os = "linux")]
56
pub(crate) const APP_DIRECTORY_NAME: &str = "graphite";
7+
#[cfg(not(target_os = "linux"))]
8+
pub(crate) const APP_DIRECTORY_NAME: &str = "Graphite";
69
pub(crate) const APP_LOCK_FILE_NAME: &str = "instance.lock";
710
pub(crate) const APP_STATE_FILE_NAME: &str = "state.ron";
811
pub(crate) const APP_PREFERENCES_FILE_NAME: &str = "preferences.ron";

0 commit comments

Comments
 (0)