aboutsummaryrefslogtreecommitdiffhomepage
path: root/ui/build.rs
diff options
context:
space:
mode:
authorelilchen <[email protected]>2023-02-16 13:39:08 +0800
committerelilchen <[email protected]>2023-02-16 13:39:08 +0800
commitad40d650702219ee203acfd2088450fafa3ea8b9 (patch)
treed33165c37ead6cb29d2d8dd143d2e0f2a7fc48bd /ui/build.rs
parent7c3be2d9fb7505969c783f8593e9924067f015ea (diff)
downloadrustdesk-server-ad40d650702219ee203acfd2088450fafa3ea8b9.tar.gz
rustdesk-server-ad40d650702219ee203acfd2088450fafa3ea8b9.zip
issues #192 add MicrosoftEdgeWebview2Setup and fix the "VCRUNTIME140.dll Is Missing" error on windows server 2022
Diffstat (limited to 'ui/build.rs')
-rw-r--r--ui/build.rs3
1 files changed, 2 insertions, 1 deletions
diff --git a/ui/build.rs b/ui/build.rs
index 811b4a2..250c43b 100644
--- a/ui/build.rs
+++ b/ui/build.rs
@@ -1,5 +1,5 @@
fn main() {
- tauri_build::build();
+ tauri_build::build();
if cfg!(target_os = "windows") {
let mut res = winres::WindowsResource::new();
res.set_icon("icons\\icon.ico");
@@ -17,5 +17,6 @@ fn main() {
"#,
);
res.compile().unwrap();
+ static_vcruntime::metabuild();
}
}