pub fn add_system_path<P>(directory: P) -> Result<()>where P: AsRef<Path>,
添加环境变量到系统目录 兼容linux与windows