forked from karx/catbox
oops
This commit is contained in:
parent
42c70cbc30
commit
ed23a32945
9
build.rs
9
build.rs
|
@ -10,8 +10,7 @@ fn main() {
|
||||||
if target.contains("msvc") {
|
if target.contains("msvc") {
|
||||||
lib_dir.push("msvc");
|
lib_dir.push("msvc");
|
||||||
dll_dir.push("msvc");
|
dll_dir.push("msvc");
|
||||||
}
|
} else {
|
||||||
else {
|
|
||||||
lib_dir.push("gnu-mingw");
|
lib_dir.push("gnu-mingw");
|
||||||
dll_dir.push("gnu-mingw");
|
dll_dir.push("gnu-mingw");
|
||||||
}
|
}
|
||||||
|
@ -20,8 +19,7 @@ fn main() {
|
||||||
if target.contains("x86_64") {
|
if target.contains("x86_64") {
|
||||||
lib_dir.push("64");
|
lib_dir.push("64");
|
||||||
dll_dir.push("64");
|
dll_dir.push("64");
|
||||||
}
|
} else {
|
||||||
else {
|
|
||||||
lib_dir.push("32");
|
lib_dir.push("32");
|
||||||
dll_dir.push("32");
|
dll_dir.push("32");
|
||||||
}
|
}
|
||||||
|
@ -34,7 +32,8 @@ fn main() {
|
||||||
let file_name = file_name.to_str().unwrap();
|
let file_name = file_name.to_str().unwrap();
|
||||||
if file_name.ends_with(".dll") {
|
if file_name.ends_with(".dll") {
|
||||||
new_file_path.push(file_name);
|
new_file_path.push(file_name);
|
||||||
std::fs::copy(&entry_path, new_file_path.as_path()).expect("Can't copy from DLL dir");
|
std::fs::copy(&entry_path, new_file_path.as_path())
|
||||||
|
.expect("Can't copy from DLL dir");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -83,7 +83,6 @@ fn main() {
|
||||||
println!("Sprites collided! {}", i);
|
println!("Sprites collided! {}", i);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
game.t_reset();
|
game.t_reset();
|
||||||
}
|
}
|
||||||
s2.draw(ctx).unwrap();
|
s2.draw(ctx).unwrap();
|
||||||
|
|
Loading…
Reference in a new issue