Skip to content

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

Merged
Legend-Master merged 2 commits intotauri-apps:devfrom
Legend-Master:fix-updater-warning
Jul 15, 2024
Merged

fix(bundler): warning for self contained updaters#10270
Legend-Master merged 2 commits intotauri-apps:devfrom
Legend-Master:fix-updater-warning

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
});
} 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
@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