fix(tui): Move selected project file to state dir
This commit is contained in:
parent
0dd74ac770
commit
87f41d0133
@ -34,7 +34,7 @@ pub fn state_path() -> &'static PathBuf {
|
|||||||
}
|
}
|
||||||
|
|
||||||
pub fn selected_project_file() -> &'static PathBuf {
|
pub fn selected_project_file() -> &'static PathBuf {
|
||||||
SELECTED_PROJECT_FILE.get_or_init(|| cache_path().join("selected-project"))
|
SELECTED_PROJECT_FILE.get_or_init(|| state_path().join("selected-project"))
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user