Skip to content

Commit

Permalink
删除多余的路径分隔符
Browse files Browse the repository at this point in the history
  • Loading branch information
REInject committed Oct 14, 2023
1 parent 29b72d9 commit 17ebcf5
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 = "wechat-dump-rs"
version = "0.1.0"
version = "1.0.1"
edition = "2021"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
Expand Down
4 changes: 2 additions & 2 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -513,7 +513,7 @@ fn cli() -> clap::Command {
use clap::{arg, value_parser, Command};

Command::new("wechat-dump-rs")
.version("1.0")
.version("1.0.1")
.about("A wechat db dump tool")
.author("REinject")
.help_template("{name} ({version}) - {author}\n{about}\n{all-args}")
Expand All @@ -536,7 +536,7 @@ fn main() {
let all = matches.get_flag("all");
let output = match matches.get_one::<PathBuf>("output") {
Some(o) => PathBuf::from(o),
None => PathBuf::from(format!("{}\\{}", std::env::temp_dir().to_str().unwrap(), "wechat_dump"))
None => PathBuf::from(format!("{}{}", std::env::temp_dir().to_str().unwrap(), "wechat_dump"))
};

let key_option = matches.get_one::<String>("key");
Expand Down

0 comments on commit 17ebcf5

Please sign in to comment.