Android refuses an APK whose versionCode is not greater than the installed one, so a fix cannot reach a tablet that already carries 0.2.0 without this. 1000 + major*10000 + minor*100 + patch puts 0.2.1 at 1201. Built and installed on the tablet with the release key, over the top of 0.2.0 rather than through an uninstall, so the rider's settings.json and devices.json survive the update. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
52 lines
1.3 KiB
JSON
52 lines
1.3 KiB
JSON
{
|
|
"$schema": "https://schema.tauri.app/config/2",
|
|
"productName": "BikeControl",
|
|
"version": "0.2.1",
|
|
"identifier": "paris.tourolle.bikecontrol",
|
|
"build": {
|
|
"frontendDist": "../ui/dist",
|
|
"devUrl": "http://localhost:1420",
|
|
"beforeDevCommand": {
|
|
"cwd": "../ui",
|
|
"script": "npm run dev"
|
|
},
|
|
"beforeBuildCommand": {
|
|
"cwd": "../ui",
|
|
"script": "npm run build"
|
|
}
|
|
},
|
|
"app": {
|
|
"windows": [
|
|
{
|
|
"title": "BikeControl",
|
|
"width": 1440,
|
|
"height": 900,
|
|
"minWidth": 960,
|
|
"minHeight": 640,
|
|
"resizable": true,
|
|
"fullscreen": false,
|
|
"backgroundColor": "#07090d"
|
|
}
|
|
],
|
|
"security": {
|
|
"csp": "default-src 'self'; style-src 'self' 'unsafe-inline'; img-src 'self' data:; connect-src ipc: http://ipc.localhost"
|
|
}
|
|
},
|
|
"bundle": {
|
|
"active": true,
|
|
"targets": "all",
|
|
"icon": [
|
|
"icons/32x32.png",
|
|
"icons/128x128.png",
|
|
"icons/128x128@2x.png",
|
|
"icons/icon.png"
|
|
],
|
|
"category": "Utility",
|
|
"android": {
|
|
"versionCode": 1201
|
|
},
|
|
"shortDescription": "Indoor cycling trainer control",
|
|
"longDescription": "Control a smart trainer over BLE, ride gradient profiles and synthetic waveforms, and record the result."
|
|
}
|
|
}
|