Skip to content

Commit

Permalink
Version 3.0.1 (#14)
Browse files Browse the repository at this point in the history
* Fix local data directory naming
  • Loading branch information
irzinfante committed Sep 2, 2024
1 parent 0c59acd commit 211e14c
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "tkd-scoreboard"
version = "3.0.0"
version = "3.0.1"
edition = "2021"
authors = ["irzinfante <[email protected]>"]
repository = "https://github.com/irzinfante/tkd-scoreboard/"
Expand Down
4 changes: 2 additions & 2 deletions src/data/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ use crate::{
pub mod groups;

fn cache_dir() -> Option<String> {
if let Some(proj_dirs) = ProjectDirs::from("eu", "irzinfante", env!("CARGO_PKG_NAME")) {
if let Some(proj_dirs) = ProjectDirs::from("dev", "irzinfante", env!("CARGO_PKG_NAME")) {
proj_dirs.cache_dir().to_str().map(str::to_string)
} else {
None
Expand Down Expand Up @@ -218,4 +218,4 @@ impl Data {

return csv_line;
}
}
}

0 comments on commit 211e14c

Please sign in to comment.