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