mirror of
https://github.com/tauri-apps/tauri.git
synced 2024-12-25 03:33:36 +03:00
fix(bundler): Fix updater bundler warning condition for v2 artifacts (#10188)
This commit is contained in:
parent
11aa7743e7
commit
96f65fef36
5
.changes/fix-bundler-updater-artifacts-warning.md
Normal file
5
.changes/fix-bundler-updater-artifacts-warning.md
Normal file
@ -0,0 +1,5 @@
|
||||
---
|
||||
tauri-bundler: patch:bug
|
||||
---
|
||||
|
||||
On macOS, the bundler will now correctly print a warning when the updater is enabled while the `.app` bundle is disabled.
|
@ -161,8 +161,8 @@ pub fn bundle_project(settings: &Settings) -> crate::Result<Vec<Bundle>> {
|
||||
package_type: PackageType::Updater,
|
||||
bundle_paths: updater_paths,
|
||||
});
|
||||
} else if updater.v1_compatible {
|
||||
log::warn!("The updater bundle target exists but couldn't find any updater-enabled target, so the updater artifacts won't be generated. Please add one of these targets as well: app, appimage, msi, nsis");
|
||||
} else {
|
||||
log::warn!("The bundler was configured to create updater artifacts but no updater-enabled targets were built. Please enable one of these targets: app, appimage, msi, nsis");
|
||||
}
|
||||
if updater.v1_compatible {
|
||||
log::warn!("Legacy v1 compatible updater is deprecated and will be removed in v3, change bundle > createUpdaterArtifacts to true when your users are updated to the version with v2 updater plugin");
|
||||
|
Loading…
Reference in New Issue
Block a user