fix(tui): Move selected project file to state dir

This commit is contained in:
Patrick Auernig 2024-11-28 03:29:42 +01:00
parent 0dd74ac770
commit 87f41d0133

View File

@ -34,7 +34,7 @@ pub fn state_path() -> &'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"))
}