Skip to content

Commit

Permalink
Update crates/tauri-bundler/src/bundle/windows/nsis/mod.rs
Browse files Browse the repository at this point in the history
Co-authored-by: Amr Bashir <github@amrbashir.me>
  • Loading branch information
thewh1teagle and amrbashir authored Nov 14, 2024
1 parent 07f64cf commit 332e369
Showing 1 changed file with 3 additions and 17 deletions.
20 changes: 3 additions & 17 deletions crates/tauri-bundler/src/bundle/windows/nsis/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -528,23 +528,9 @@ fn build_nsis_app_installer(
#[cfg(target_os = "windows")]
if settings.can_sign() {
log::info!("Signing NSIS plugins");
for dll in glob::glob(
_nsis_toolset_path
.join("Plugins/*/*.dll")
.to_string_lossy()
.to_string()
.as_str(),
)? {
let path = dll?;
if NSIS_PLUGIN_DLLS.contains(
&path
.file_name()
.unwrap_or_default()
.to_string_lossy()
.as_ref(),
) {
try_sign(&path, settings)?;
}
for dll in NSIS_PLUGIN_DLLS {
let path = _nsis_toolset_path.join("Plugins/x86-unicode").join(dll);
try_sign(&path, settings)?;
}
}

Expand Down

0 comments on commit 332e369

Please sign in to comment.