
Fixes the 'No matching IconType' error when running 'bun run tauri build' on macOS. The .icns file format is required for macOS application bundles but was missing from the icon array in tauri.conf.json. Addresses: https://github.com/getAsterisk/claudia/issues/37#issuecomment-3003969906
46 lines
1.1 KiB
JSON
46 lines
1.1 KiB
JSON
{
|
|
"$schema": "https://schema.tauri.app/config/2",
|
|
"productName": "Claudia",
|
|
"version": "0.1.0",
|
|
"identifier": "claudia.asterisk.so",
|
|
"build": {
|
|
"beforeDevCommand": "bun run dev",
|
|
"devUrl": "http://localhost:1420",
|
|
"beforeBuildCommand": "bun run build",
|
|
"frontendDist": "../dist"
|
|
},
|
|
"app": {
|
|
"windows": [
|
|
{
|
|
"title": "Claudia",
|
|
"width": 800,
|
|
"height": 600
|
|
}
|
|
],
|
|
"security": {
|
|
"csp": "default-src 'self'; img-src 'self' asset: https://asset.localhost blob: data:; style-src 'self' 'unsafe-inline'; script-src 'self' 'unsafe-eval'",
|
|
"assetProtocol": {
|
|
"enable": true,
|
|
"scope": ["**"]
|
|
}
|
|
}
|
|
},
|
|
"plugins": {
|
|
"fs": {
|
|
"scope": ["$HOME/**"],
|
|
"allow": ["readFile", "writeFile", "readDir", "copyFile", "createDir", "removeDir", "removeFile", "renameFile", "exists"]
|
|
}
|
|
},
|
|
"bundle": {
|
|
"active": true,
|
|
"targets": "all",
|
|
"icon": [
|
|
"icons/32x32.png",
|
|
"icons/128x128.png",
|
|
"icons/128x128@2x.png",
|
|
"icons/icon.icns",
|
|
"icons/icon.png"
|
|
]
|
|
}
|
|
}
|