- Add tools/sync-version.js script to read root package.json version and update src-tauri/tauri.conf.json and src-tauri/Cargo.toml. - Update only the [package] version line in Cargo.toml to preserve formatting. - Include JSON read/write helpers and basic error handling/reporting.
43 lines
799 B
JSON
43 lines
799 B
JSON
{
|
|
"$schema": "https://schema.tauri.app/config/2",
|
|
"productName": "RadioPlayer",
|
|
"version": "0.1.1",
|
|
"identifier": "si.klevze.radioPlayer",
|
|
"build": {
|
|
"frontendDist": "../src"
|
|
},
|
|
"app": {
|
|
"withGlobalTauri": true,
|
|
"windows": [
|
|
{
|
|
"title": "RadioPlayer",
|
|
"width": 360,
|
|
"height": 720,
|
|
"resizable": false,
|
|
"decorations": false,
|
|
"transparent": true
|
|
}
|
|
],
|
|
"security": {
|
|
"csp": null
|
|
}
|
|
},
|
|
"bundle": {
|
|
"active": true,
|
|
"targets": "all",
|
|
"externalBin": [
|
|
"binaries/RadioPlayer"
|
|
],
|
|
"resources": [
|
|
"resources/*"
|
|
],
|
|
"icon": [
|
|
"icons/32x32.png",
|
|
"icons/128x128.png",
|
|
"icons/128x128@2x.png",
|
|
"icons/icon.icns",
|
|
"icons/icon.ico"
|
|
]
|
|
}
|
|
}
|