fix fr fr??

This commit is contained in:
Junko 2023-11-27 14:20:53 +01:00
parent 9422bb5297
commit cb735acca2
1 changed files with 2 additions and 1 deletions

View File

@ -301,7 +301,8 @@ fn get(config_path: String) -> Result<(), &'static str> {
}
if cfg!(target_os = "windows") {
Command::new("cmd").args(["/C", format!("copy {}/{} {}", &config.pfp_module.pfp_folder, pfpnames, &config.pfp_module.pfp_output_path).as_str()]).output().expect("PFP module error");
let cmdaug = format!("copy {}\\{} {}", &config.pfp_module.pfp_folder, pfpnames, &config.pfp_module.pfp_output_path);
Command::new("cmd").args(["/C", &cmdaug]).output().expect("PFP module error");
if config.disc_module.enabled {
let mut c = Command::new("cmd").args(["/C", format!("{} {}", &config.disc_module.python_path, &config.disc_module.script_path).as_str()]).spawn().expect("Discord module error");