issues #192 add MicrosoftEdgeWebview2Setup and fix the "VCRUNTIME140.dll Is Missing" error on windows server 2022

This commit is contained in:
elilchen
2023-02-16 13:39:08 +08:00
parent 7c3be2d9fb
commit ad40d65070
10 changed files with 35 additions and 8 deletions

View File

@@ -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();
}
}