Skip to content

An open-source remote desktop application designed for self-hosting, as an alternative to TeamViewer.

Update build.rs

deep-soft3fab42b8d1cb
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),
}
}