Skip to content

[feat] Check if developer changed the default identifier on tauri build #4041

@FabianLars

Description

@FabianLars

Describe the problem

As discussed previously, devs just can't distribute their apps with the default com.tauri.dev identifier.

Not setting a predefined id on init and forcing the user to set one would just make getting started with tauri more annoyingly complicated (if they just want to play around with tauri dev), so i guess checking it only if you actually compile the app makes more sense.

Describe the solution you'd like

check for com.tauri.dev in tauri build, maybe with another condition so it doesn't annoy us in the repo examples.

Alternatives considered

  • Don't set a default value
  • Trust that the users read the docs and care about it (we don't even mention the id currently)
  • try to autogenerate a more unique id on init

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions