Merge branch 'andy_master' of jake/elseware into master
This commit is contained in:
commit
b8ec58a86f
@ -378,6 +378,11 @@ impl Iterator for SendFileIterator {
|
||||
fn main() {
|
||||
println!("[patch] starting server");
|
||||
|
||||
if let Err(_) = std::fs::read_dir("patchfiles/") {
|
||||
if let Err(_) = std::fs::create_dir("patchfiles/") {
|
||||
panic!("Could not create patchfiles directory!");
|
||||
}
|
||||
}
|
||||
let (patch_file_tree, patch_file_lookup) = generate_patch_tree("patchfiles/");
|
||||
println!("[patch] files to patch:");
|
||||
let mut indent = 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user