Desktop: Capitalize the app directory name on Mac and Windows
This commit is contained in:
parent
cf85ec736f
commit
2a59bd50bd
|
|
@ -2,7 +2,10 @@ pub(crate) const APP_NAME: &str = "Graphite";
|
||||||
#[cfg(any(target_os = "linux", target_os = "windows"))]
|
#[cfg(any(target_os = "linux", target_os = "windows"))]
|
||||||
pub(crate) const APP_ID: &str = "art.graphite.Graphite";
|
pub(crate) const APP_ID: &str = "art.graphite.Graphite";
|
||||||
|
|
||||||
|
#[cfg(target_os = "linux")]
|
||||||
pub(crate) const APP_DIRECTORY_NAME: &str = "graphite";
|
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_LOCK_FILE_NAME: &str = "instance.lock";
|
||||||
pub(crate) const APP_STATE_FILE_NAME: &str = "state.ron";
|
pub(crate) const APP_STATE_FILE_NAME: &str = "state.ron";
|
||||||
pub(crate) const APP_PREFERENCES_FILE_NAME: &str = "preferences.ron";
|
pub(crate) const APP_PREFERENCES_FILE_NAME: &str = "preferences.ron";
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue