Skip to content

Commit

Permalink
remove }
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasfernog committed May 23, 2023
1 parent f6b9c46 commit ca3b1ea
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions core/tauri-build/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -368,12 +368,11 @@ pub fn try_build(attributes: Attributes) -> Result<()> {
.resources
.clone()
.unwrap_or_else(|| BundleResources::List(Vec::new()));
if let Some(fixed_webview2_runtime_path) =
&config.tauri.bundle.windows.webview_fixed_runtime_path
{
resources.push(fixed_webview2_runtime_path.display().to_string());
}
if let Some(fixed_webview2_runtime_path) = &config.tauri.bundle.windows.webview_fixed_runtime_path
{
resources.push(fixed_webview2_runtime_path.display().to_string());
}

match resources {
BundleResources::List(res) => {
copy_resources(ResourcePaths::new(res.as_slice(), true), target_dir)?
Expand Down

0 comments on commit ca3b1ea

Please sign in to comment.