tauri-apps / tauri Public
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
Generate unique bundle identifier #2431
Comments
|
I believe create-tauri-app should be developed in the following way:
Benefits of this approach:
I would love to have @lucasfernog thoughts on this |
|
@jbolda and @amrbashir are the designers and maintainers of create-tauri-app. |
|
@vsnthdev This seems unrelated to the issue itself but I will answer anyway:
|
Is your feature request related to a problem? Please describe.
I've set up a new tauri project following docs on tauri.studio, and my newly-generated app had
bundle.identifierset tocom.tauri.dev.For macOS apps (and probably other OSes) this identifier has to be globally unique for every app. It can be problematic when developers forget to customize it. An existing example tauri app I've found had forgotten to change it.
Describe the solution you'd like
It would be nice if you could customize the default identifier, so that even if developer forgets to change it, it won't be clashing with other apps. For example, append application name to your domain prefix. If
productNameisfoo app, generatestudio.tauri.dev.foo-app. Or generate random string:studio.tauri.dev.rqudxcdvmdomlfbrhjt.Describe alternatives you've considered
You could ask users to provide their proper domain name, but I suspect you'd prefer not to bother users with too many setup questions.
The text was updated successfully, but these errors were encountered: