61 lines
1.6 KiB
JSON
61 lines
1.6 KiB
JSON
{
|
|
"$schema": "../node_modules/@tauri-apps/cli/config.schema.json",
|
|
"productName": "Jan",
|
|
"version": "0.1.0",
|
|
"identifier": "jan.ai",
|
|
"build": {
|
|
"frontendDist": "../web/out",
|
|
"devUrl": "http://localhost:3000",
|
|
"beforeDevCommand": "yarn dev:web:tauri",
|
|
"beforeBuildCommand": "yarn build:web"
|
|
},
|
|
"app": {
|
|
"macOSPrivateApi": true,
|
|
"windows": [
|
|
{
|
|
"title": "Jan",
|
|
"width": 1000,
|
|
"height": 700,
|
|
"resizable": true,
|
|
"fullscreen": false,
|
|
"hiddenTitle": true,
|
|
"transparent": true,
|
|
"titleBarStyle": "Overlay"
|
|
}
|
|
],
|
|
"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"],
|
|
"img-src": "'self' asset: http://asset.localhost blob: data:",
|
|
"style-src": "'unsafe-inline' 'self' https://fonts.googleapis.com"
|
|
},
|
|
"assetProtocol": {
|
|
"enable": true,
|
|
"scope": {
|
|
"requireLiteralLeadingDot": false,
|
|
"allow": ["**/*"]
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"bundle": {
|
|
"active": true,
|
|
"targets": "all",
|
|
"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"]
|
|
}
|
|
}
|