Skip to content
Discussion options

You must be logged in to vote

But the apps are nearly identical. They only differ by settings files (and feature flags based on app name), and then icons + debug or build output. e.g. if I add a dependency, I want to add in one place not to separate Cargo.toml files.

In the case the --config flag approach sounds more reasonable to me. You'll have 1 base/main tauri.conf.json and then 1 or 2 overwrite configs you specify via that flag that then gets merged into the main one (since they're merged they don't need to be complete configs, only what you want overwritten).

In the default (I think) folder structure, target is next to src-tauri (by whatever name). So to support the debug output, the parent folder of both has…

Replies: 4 comments 3 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@FabianLars
Comment options

Comment options

You must be logged in to vote
1 reply
@FabianLars
Comment options

Answer selected by ImageDeeply
Comment options

You must be logged in to vote
1 reply
@FabianLars
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants