Co-authored-by: Ryan Lai <ryalai96@gamil.com>
This commit is contained in:
Ryan Lai 2020-08-24 12:15:35 -07:00 коммит произвёл GitHub
Родитель 382c393285
Коммит 640a30bc7d
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -13,13 +13,13 @@ fn copy_resources() {
let profile = std::env::var("PROFILE").unwrap();
if profile == "debug" {
copy_file!("..\\..\\SharedContent\\media\\fish.png",".\\target\\debug\\fish.png");
copy_file!("..\\..\\SharedContent\\media\\fish.png",".\\target\\debug\\kitten_224.png");
copy_file!("..\\..\\SharedContent\\media\\kitten_224.png",".\\target\\debug\\kitten_224.png");
copy_file!("..\\..\\SharedContent\\models\\SqueezeNet.onnx",".\\target\\debug\\SqueezeNet.onnx");
copy_file!("..\\SqueezeNetObjectDetection\\Desktop\\cpp\\Labels.txt",".\\target\\debug\\Labels.txt");
}
else if profile == "release" {
copy_file!("..\\..\\SharedContent\\media\\fish.png",".\\target\\release\\fish.png");
copy_file!("..\\..\\SharedContent\\media\\fish.png",".\\target\\release\\kitten_224.png");
copy_file!("..\\..\\SharedContent\\media\\kitten_224.png",".\\target\\release\\kitten_224.png");
copy_file!("..\\..\\SharedContent\\models\\SqueezeNet.onnx",".\\target\\release\\SqueezeNet.onnx");
copy_file!("..\\SqueezeNetObjectDetection\\Desktop\\cpp\\Labels.txt",".\\target\\release\\Labels.txt");
}