Closed i-c-b closed 11 months ago
I also spotted that the file format for the JSON5 and casing for the TOML Tauri configuration files is different for mobile when compared to the desktop counterparts. I've already created a branch to resolve that issue in my fork but I've delayed submitting the pull request since I'm unsure about whether it classifies as a major version bump while 2.0 is in alpha and spotted this issue. Input on the matter would be appreciated.
I've already created a branch to resolve that issue in my fork but I've delayed submitting the pull request since I'm unsure about whether it classifies as a major version bump while 2.0 is in alpha and spotted this issue. Input on the matter would be appreciated.
Yeah, sounds like something that should be fixed while it's still in alpha (every alpha release can contain breaking changes so that's alright). So we'd appreciate the PR :)
Describe the bug
When developing on Linux, the Android platform-specific Tauri configuration file is ignored and the Linux one is applied instead.
Reproduction
Modify
tauri.conf.json
with"beforeDevCommand": "echo \"tauri.conf.json\""
. Createtauri.android.conf.json
with{ "build": { "beforeDevCommand": "echo \"tauri.android.conf.json\"" } }
. Createtauri.linux.conf.json
with{ "build": { "beforeDevCommand": "echo \"tauri.linux.conf.json\"" } }
.Expected behavior
Console prints
tauri.android.conf.json
before building.Platform and versions
Stack trace
No response
Additional context
No response