Wire up local build scripts and lockfiles so the desktop app can be developed and bundled consistently.
39 lines
937 B
JSON
39 lines
937 B
JSON
{
|
|
"$schema": "https://schema.tauri.app/config/2",
|
|
"productName": "mp3Transriber",
|
|
"version": "0.1.0",
|
|
"identifier": "com.ben.mp3transriber",
|
|
"build": {
|
|
"beforeDevCommand": "npm run dev",
|
|
"beforeBuildCommand": "npm run build",
|
|
"frontendDist": "../dist",
|
|
"devUrl": "http://localhost:5173"
|
|
},
|
|
"app": {
|
|
"windows": [
|
|
{
|
|
"title": "mp3Transriber",
|
|
"width": 1320,
|
|
"height": 860,
|
|
"resizable": true
|
|
}
|
|
],
|
|
"security": {
|
|
"csp": "default-src 'self'; connect-src ipc: http://ipc.localhost; img-src 'self' asset: http://asset.localhost; style-src 'self' 'unsafe-inline'; script-src 'self'"
|
|
}
|
|
},
|
|
"bundle": {
|
|
"active": true,
|
|
"targets": "all",
|
|
"icon": [
|
|
"icons/32x32.png",
|
|
"icons/64x64.png",
|
|
"icons/128x128.png",
|
|
"icons/128x128@2x.png",
|
|
"icons/icon.png",
|
|
"icons/icon.icns",
|
|
"icons/icon.ico"
|
|
]
|
|
}
|
|
}
|