mirror of
				https://github.com/Tim-Paik/neutauri.git
				synced 2024-10-12 23:29:41 +00:00 
			
		
		
		
	fix: Parent folders are now automatically created when exporting artifacts
This commit is contained in:
		| @ -30,6 +30,7 @@ pub fn bundle(config_path: String) -> std::io::Result<()> { | ||||
|         Some(path) => data::normalize_path(&path.join(&config.target)), | ||||
|         None => data::normalize_path(&config.target), | ||||
|     }; | ||||
|     fs::create_dir_all(target.parent().unwrap_or_else(|| std::path::Path::new("/")))?; | ||||
|     let target = if target.extension() == None && cfg!(windows) { | ||||
|         target.with_extension("exe") | ||||
|     } else { | ||||
|  | ||||
		Reference in New Issue
	
	Block a user