mirror of
https://github.com/ByteAtATime/raycast-linux.git
synced 2025-08-31 03:07:23 +00:00
refactor: remove cache dir suffix
This commit is contained in:
parent
2890b7e464
commit
80667a9fd6
1 changed files with 2 additions and 3 deletions
|
@ -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> {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue