Needed to deploy over the CI-installed build on device: CI derives versionCode as 1000 + major*10000 + minor*100 + patch, so the field is already at 1000, while a local `tauri android build` writes the raw patch number (15) and is rejected as a downgrade. Cargo.toml is versioned independently (0.1.0) and is left alone. Note: local builds still emit the raw code (16) - only CI applies the 1000+ formula, so deploying to a device with a CI build installed needs gen/android/app/tauri.properties patched after Tauri regenerates it. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
36 lines
708 B
JSON
36 lines
708 B
JSON
{
|
|
"$schema": "https://schema.tauri.app/config/2",
|
|
"productName": "jellytau",
|
|
"version": "0.0.16",
|
|
"identifier": "com.dtourolle.jellytau",
|
|
"build": {
|
|
"beforeDevCommand": "bun run dev",
|
|
"devUrl": "http://localhost:1420",
|
|
"beforeBuildCommand": "bun run build",
|
|
"frontendDist": "../build"
|
|
},
|
|
"app": {
|
|
"windows": [
|
|
{
|
|
"title": "jellytau",
|
|
"width": 800,
|
|
"height": 600
|
|
}
|
|
],
|
|
"security": {
|
|
"csp": null
|
|
}
|
|
},
|
|
"bundle": {
|
|
"active": true,
|
|
"targets": ["deb", "rpm"],
|
|
"icon": [
|
|
"icons/32x32.png",
|
|
"icons/128x128.png",
|
|
"icons/128x128@2x.png",
|
|
"icons/icon.icns",
|
|
"icons/icon.ico"
|
|
]
|
|
}
|
|
}
|