refactor: remove cache dir suffix

This commit is contained in:
ByteAtATime 2025-07-29 10:45:20 -07:00
parent 2890b7e464
commit 80667a9fd6

View file

@ -21,9 +21,8 @@ impl AppCache {
.app_cache_dir()
.map_err(|_| AppError::DirectoryNotFound)?;
let app_cache_dir = cache_dir.join("raycast-linux");
fs::create_dir_all(&app_cache_dir)?;
Ok(app_cache_dir.join("apps.bincode"))
fs::create_dir_all(&cache_dir)?;
Ok(cache_dir.join("apps.bincode"))
}
pub fn read_from_file(path: &Path) -> Result<AppCache, AppError> {