mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-28 12:58:11 +08:00
Desktop: Move preferences persistence to native (#3138)
* Move preference persistence to native * Pass preferences as struct instead of serialized to string
This commit is contained in:
@@ -1,7 +1,10 @@
|
||||
pub(crate) static APP_NAME: &str = "Graphite";
|
||||
pub(crate) static APP_ID: &str = "rs.graphite.GraphiteEditor";
|
||||
|
||||
pub(crate) static APP_DIRECTORY_NAME: &str = "graphite-editor";
|
||||
pub(crate) static APP_AUTOSAVE_DIRECTORY_NAME: &str = "documents";
|
||||
pub(crate) static APP_STATE_FILE_NAME: &str = "state.ron";
|
||||
pub(crate) static APP_PREFERENCES_FILE_NAME: &str = "preferences.ron";
|
||||
pub(crate) static APP_DOCUMENTS_DIRECTORY_NAME: &str = "documents";
|
||||
|
||||
// CEF configuration constants
|
||||
pub(crate) const CEF_WINDOWLESS_FRAME_RATE: i32 = 60;
|
||||
|
||||
Reference in New Issue
Block a user