mirror of
https://github.com/tauri-apps/tauri.git
synced 2026-01-31 00:35:19 +01:00
feat(cli): generate signatures for non-zipped targets with createUpdaterArtifacts: v1Compatible (#10940)
This commit is contained in:
6
.changes/sign-non-zipped-updater-with-v1-compatible.md
Normal file
6
.changes/sign-non-zipped-updater-with-v1-compatible.md
Normal file
@@ -0,0 +1,6 @@
|
||||
---
|
||||
"tauri-cli": "patch:enhance"
|
||||
---
|
||||
|
||||
Generate `.sig` signature files for installers and bundles when `createUpdaterArtifacts` is set to `v1Compatible`
|
||||
|
||||
@@ -225,17 +225,10 @@ fn sign_updaters(
|
||||
let update_enabled_bundles: Vec<&tauri_bundler::Bundle> = bundles
|
||||
.iter()
|
||||
.filter(|bundle| {
|
||||
if update_settings.v1_compatible {
|
||||
matches!(bundle.package_type, PackageType::Updater)
|
||||
} else {
|
||||
matches!(
|
||||
bundle.package_type,
|
||||
PackageType::Updater
|
||||
| PackageType::Nsis
|
||||
| PackageType::WindowsMsi
|
||||
| PackageType::AppImage
|
||||
)
|
||||
}
|
||||
matches!(
|
||||
bundle.package_type,
|
||||
PackageType::Updater | PackageType::Nsis | PackageType::WindowsMsi | PackageType::AppImage
|
||||
)
|
||||
})
|
||||
.collect();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user