Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(bundler): warning for self contained updaters #10270

Merged
merged 2 commits into from
Jul 15, 2024

Conversation

Legend-Master
Copy link
Contributor

@Legend-Master Legend-Master commented Jul 13, 2024

Fix regression from #10188, bundler warns about no updater-enabled targets were built for self contained updaters like app image, nsis, msi

@Legend-Master Legend-Master requested a review from a team as a code owner July 13, 2024 03:07
@@ -161,7 +161,15 @@ pub fn bundle_project(settings: &Settings) -> crate::Result<Vec<Bundle>> {
package_type: PackageType::Updater,
bundle_paths: updater_paths,
});
} else {
} else if updater.v1_compatible
|| !package_types.iter().any(|package_type| {
Copy link
Member

@FabianLars FabianLars Jul 15, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hmm, maybe we need this to be dynamic depending on the currently built platform, but we could also add it later idc - edit: or maybe it's too early for me rn and it doesn't matter at this point in the code

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

To be honest, the way this thing is currently structured is all about maintaining the old code path for v1 zipped updaters

@Legend-Master Legend-Master merged commit d1df6be into tauri-apps:dev Jul 15, 2024
15 checks passed
@Legend-Master Legend-Master deleted the fix-updater-warning branch July 15, 2024 08:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants