testing generating config stuff
This commit is contained in:
parent
4ec3c557fd
commit
f03c42f8f7
13
src/main.rs
13
src/main.rs
|
@ -13,11 +13,12 @@ struct Args {
|
||||||
}
|
}
|
||||||
|
|
||||||
fn main() {
|
fn main() {
|
||||||
let args = Args::parse();
|
// let args = Args::parse();
|
||||||
println!("{:?}", args);
|
// println!("{:?}", args);
|
||||||
|
|
||||||
let mut source = File::open(args.input).unwrap();
|
|
||||||
let dest = Path::new(&args.output);
|
|
||||||
|
|
||||||
uncompress_archive(&mut source, &dest, Ownership::Preserve).unwrap();
|
let config_location = cyber_mod_manager::get_config_location();
|
||||||
|
let steam_location = cyber_mod_manager::get_steam_location();
|
||||||
|
|
||||||
|
println!("Config: {}", config_location);
|
||||||
|
println!("Steam: {}", steam_location);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue