jan/src-tauri/tauri.conf.json
Louis 52ac14ad06
feat: run mcp with bundled bun and uv (#4949)
* feat: run mcp with bundled bun and uv

* chore: clean up

* chore: pull binaries windows, linux (#4963)

* fix: get bun and uv from execution path

* fix: macos

* fix: typo

---------

Co-authored-by: vansangpfiev <vansangpfiev@gmail.com>
2025-05-15 17:11:18 +07:00

75 lines
2.0 KiB
JSON

{
"$schema": "https://schema.tauri.app/config/2",
"productName": "Jan",
"version": "0.1.0",
"identifier": "jan.ai",
"build": {
"frontendDist": "../web/out",
"devUrl": "http://localhost:3000",
"beforeDevCommand": "cross-env IS_TAURI=true yarn dev:web",
"beforeBuildCommand": "cross-env IS_TAURI=true yarn build:web"
},
"app": {
"macOSPrivateApi": true,
"windows": [
{
"title": "Jan",
"width": 1024,
"height": 768,
"resizable": true,
"fullscreen": false,
"hiddenTitle": true,
"transparent": true,
"titleBarStyle": "Overlay",
"windowEffects": {
"effects": ["fullScreenUI", "mica", "blur", "acrylic"],
"state": "active"
}
}
],
"security": {
"csp": {
"default-src": "'self' customprotocol: asset: http://localhost:* http://127.0.0.1:* ws://localhost:* ws://127.0.0.1:*",
"connect-src": "ipc: http://ipc.localhost",
"font-src": ["https://fonts.gstatic.com blob: data:"],
"img-src": "'self' asset: http://asset.localhost blob: data:",
"style-src": "'unsafe-inline' 'self' https://fonts.googleapis.com",
"script-src": "'self' asset: $APPDATA/**.*"
},
"assetProtocol": {
"enable": true,
"scope": {
"requireLiteralLeadingDot": false,
"allow": ["**/*"]
}
}
}
},
"plugins": {
"updater": {
"pubkey": "",
"endpoints": [
"https://github.com/menloresearch/jan/releases/latest/download/latest.json"
]
}
},
"bundle": {
"active": true,
"targets": "all",
"createUpdaterArtifacts": true,
"icon": [
"icons/32x32.png",
"icons/128x128.png",
"icons/128x128@2x.png",
"icons/icon.icns",
"icons/icon.ico"
],
"resources": [
"binaries/engines/**/*",
"resources/themes/**/*",
"resources/pre-install/**/*"
],
"externalBin": ["binaries/cortex-server", "resources/bin/bun", "resources/bin/uv"]
}
}