80 lines
2.4 KiB
JSON
80 lines
2.4 KiB
JSON
{
|
|
"$schema": "../node_modules/@tauri-apps/cli/config.schema.json",
|
|
"productName": "Tolaria",
|
|
"version": "0.1.0",
|
|
"identifier": "club.refactoring.tolaria",
|
|
"build": {
|
|
"frontendDist": "../dist",
|
|
"devUrl": "http://localhost:5202",
|
|
"beforeDevCommand": "pnpm dev",
|
|
"beforeBuildCommand": "pnpm build && pnpm bundle-mcp"
|
|
},
|
|
"app": {
|
|
"withGlobalTauri": true,
|
|
"windows": [
|
|
{
|
|
"title": "Tolaria",
|
|
"width": 1400,
|
|
"height": 900,
|
|
"minWidth": 480,
|
|
"minHeight": 400,
|
|
"resizable": true,
|
|
"fullscreen": false,
|
|
"titleBarStyle": "Overlay",
|
|
"hiddenTitle": true,
|
|
"backgroundColor": "#F7F6F3",
|
|
"dragDropEnabled": true
|
|
}
|
|
],
|
|
"security": {
|
|
"csp": {
|
|
"default-src": "'self' ipc: http://ipc.localhost",
|
|
"script-src": "'self' https://us.i.posthog.com https://eu.i.posthog.com https://us-assets.i.posthog.com https://eu-assets.i.posthog.com",
|
|
"connect-src": "'self' ipc: http://ipc.localhost ws://localhost:9710 ws://127.0.0.1:9710 ws://localhost:9711 ws://127.0.0.1:9711 https:",
|
|
"img-src": "'self' asset: http://asset.localhost data: blob: https:",
|
|
"style-src": "'self' 'unsafe-inline' https://fonts.googleapis.com",
|
|
"style-src-elem": "'self' 'nonce-tolaria-runtime-style' https://fonts.googleapis.com",
|
|
"style-src-attr": "'unsafe-inline'",
|
|
"font-src": "'self' data: https://fonts.gstatic.com",
|
|
"media-src": "'self' data: blob: https:",
|
|
"object-src": "'none'"
|
|
},
|
|
"assetProtocol": {
|
|
"enable": true,
|
|
"scope": []
|
|
}
|
|
}
|
|
},
|
|
"bundle": {
|
|
"active": true,
|
|
"targets": "all",
|
|
"createUpdaterArtifacts": true,
|
|
"windows": {
|
|
"webviewInstallMode": {
|
|
"type": "downloadBootstrapper"
|
|
}
|
|
},
|
|
"resources": {
|
|
"resources/mcp-server/**/*": "mcp-server/"
|
|
},
|
|
"icon": [
|
|
"icons/32x32.png",
|
|
"icons/128x128.png",
|
|
"icons/128x128@2x.png",
|
|
"icons/icon.icns",
|
|
"icons/icon.ico"
|
|
]
|
|
},
|
|
"plugins": {
|
|
"updater": {
|
|
"endpoints": [
|
|
"https://refactoringhq.github.io/tolaria/stable/latest.json"
|
|
],
|
|
"windows": {
|
|
"installMode": "passive"
|
|
},
|
|
"pubkey": "dW50cnVzdGVkIGNvbW1lbnQ6IG1pbmlzaWduIHB1YmxpYyBrZXk6IEE4NkQ5MDI3REVCRkFGNUMKUldSY3I3L2VKNUJ0cU5JRlRZZlp3NGhnU3ZwbkVKeGVvREpmb2sxRVJndHFpVFZPNlArbEE5R1IK"
|
|
}
|
|
}
|
|
}
|