mirror of
https://github.com/tauri-apps/tauri.git
synced 2024-12-25 03:33:36 +03:00
feat(bundler): create signature for .deb
bundle (#11562)
This commit is contained in:
parent
dc4d794776
commit
cccb308c7b
7
.changes/deb-updater-support.md
Normal file
7
.changes/deb-updater-support.md
Normal file
@ -0,0 +1,7 @@
|
||||
---
|
||||
'tauri-bundler': minor:feat
|
||||
'tauri-cli': minor:feat
|
||||
'@tauri-apps/cli': minor:feat
|
||||
---
|
||||
|
||||
Generate signature for `.deb` packages when `createUpdaterArtifacts` option is enabled.
|
@ -151,6 +151,7 @@ pub fn bundle_project(settings: &Settings) -> crate::Result<Vec<Bundle>> {
|
||||
| PackageType::MacOsBundle
|
||||
| PackageType::Nsis
|
||||
| PackageType::WindowsMsi
|
||||
| PackageType::Deb
|
||||
)
|
||||
} else {
|
||||
matches!(package_type, PackageType::MacOsBundle)
|
||||
@ -166,7 +167,7 @@ pub fn bundle_project(settings: &Settings) -> crate::Result<Vec<Bundle>> {
|
||||
// Self contained updater, no need to zip
|
||||
matches!(
|
||||
package_type,
|
||||
PackageType::AppImage | PackageType::Nsis | PackageType::WindowsMsi
|
||||
PackageType::AppImage | PackageType::Nsis | PackageType::WindowsMsi | PackageType::Deb
|
||||
)
|
||||
})
|
||||
{
|
||||
|
@ -226,7 +226,11 @@ fn sign_updaters(
|
||||
.filter(|bundle| {
|
||||
matches!(
|
||||
bundle.package_type,
|
||||
PackageType::Updater | PackageType::Nsis | PackageType::WindowsMsi | PackageType::AppImage
|
||||
PackageType::Updater
|
||||
| PackageType::Nsis
|
||||
| PackageType::WindowsMsi
|
||||
| PackageType::AppImage
|
||||
| PackageType::Deb
|
||||
)
|
||||
})
|
||||
.collect();
|
||||
|
Loading…
Reference in New Issue
Block a user