Skip to content

[feat] v2 - Move bundle configs into respective platform objects. #8055

@FabianLars

Description

@FabianLars

Describe the problem

Currently the config is a bit of a mess, we have deb and appimage configs at the root but also a windows config that contains the nsis and wix configs.

Describe the solution you'd like

Move appimage and deb into a linux config. Something similar will probably need to happen on macos with the open dmg PR and potentially upcoming formats (pkg?).

I can work on this myself (unless a community member wants to work on this :) ) but wanted to discuss this here first, so don't take this issue as a "Please fix this for me" thing 😅

P.S. i am aware that cargo-package doesn't have OS configs but tauri's config covers way more stuff (other than bundler related things) so imo a bit more structure would be valuable, especially since not every user may know each bundle name so maybeee this clears it up a bit for a few people 🤷

Alternatives considered

pulling out wix, nsis, etc into the root or just leaving it as is. The first one is too messy and the second one looks too much like an "accident" (for the lack of a better word)

Additional context

imo this should happen after the rpm and dmg prs so that the community members don't have to deal with it, unless we think we can't get those PR in tauri in time for the audit, then we should change it asap and let the PRs deal with the change.

PRs that would be affected:
rpm #5202 (adds new configs but at the root like deb)
dmg #7964 (adds new configs but at the root like deb)
snap #6532 (this one doesn't have configs yet)
pacman #4301 (this one doesn't have configs yet)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions