From 3fab42b8d1cb3a8290328b0a47d59db55f4cef7c Mon Sep 17 00:00:00 2001 From: deep-soft Date: Sat, 2 Sep 2023 20:52:07 +0300 Subject: [PATCH] Update build.rs --- libs/portable/build.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libs/portable/build.rs b/libs/portable/build.rs index 697af3d45..4f33273f5 100644 --- a/libs/portable/build.rs +++ b/libs/portable/build.rs @@ -2,9 +2,9 @@ extern crate embed_resource; use std::fs; fn main() { - let runner_res_path = "./Runner.res"; + let runner_res_path = "Runner.res"; match fs::metadata(runner_res_path) { - Ok(_) => println!("cargo:rustc-link-lib=dylib:+verbatim=./Runner.res"), + Ok(_) => println!("cargo:rustc-link-lib=dylib:+verbatim=./libs/portable/Runner.res"), Err(_) => embed_resource::compile("icon.rc", embed_resource::NONE), } }