* chore: remove legacy themes * refactor: clean up dependencies * chore: remove cuda 11 dependency - fix linux LD_LIBRARY_PATH * fix: load models issue on Linux # Conflicts: # src-tauri/src/core/setup.rs * chore: do not download cuda 11 by default * chore: remove cuda 11 from installer * fix: cuda lookup on Linux
112 lines
3.1 KiB
JSON
112 lines
3.1 KiB
JSON
{
|
|
"$schema": "https://schema.tauri.app/config/2",
|
|
"productName": "Jan",
|
|
"version": "0.5.16",
|
|
"identifier": "jan.ai.app",
|
|
"build": {
|
|
"frontendDist": "../web-app/dist",
|
|
"devUrl": "http://localhost:1420",
|
|
"beforeDevCommand": "cross-env IS_TAURI=true yarn dev:web",
|
|
"beforeBuildCommand": "cross-env IS_TAURI=true yarn build:web"
|
|
},
|
|
"app": {
|
|
"macOSPrivateApi": true,
|
|
"windows": [
|
|
{
|
|
"label": "main",
|
|
"title": "Jan",
|
|
"width": 1024,
|
|
"height": 800,
|
|
"resizable": true,
|
|
"fullscreen": false,
|
|
"center": true,
|
|
"hiddenTitle": true,
|
|
"transparent": true,
|
|
"trafficLightPosition": {
|
|
"x": 12,
|
|
"y": 22
|
|
},
|
|
"decorations": true,
|
|
"titleBarStyle": "Overlay",
|
|
"windowEffects": {
|
|
"effects": ["fullScreenUI", "mica", "tabbed", "blur", "acrylic"],
|
|
"state": "active",
|
|
"radius": 8
|
|
}
|
|
}
|
|
],
|
|
"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 http://127.0.0.1:* ws://localhost:* ws://127.0.0.1:* https: http:",
|
|
"font-src": [
|
|
"https://fonts.gstatic.com blob: data: tauri://localhost http://tauri.localhost"
|
|
],
|
|
"img-src": "'self' asset: http://asset.localhost blob: data: https://cdn.jsdelivr.net",
|
|
"style-src": "'unsafe-inline' 'self' https://fonts.googleapis.com",
|
|
"script-src": "'self' asset: $APPDATA/**.* http://asset.localhost"
|
|
},
|
|
"assetProtocol": {
|
|
"enable": true,
|
|
"scope": {
|
|
"requireLiteralLeadingDot": false,
|
|
"allow": ["**/*"]
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"plugins": {
|
|
"os": {
|
|
"version": "latest",
|
|
"resolve": true
|
|
},
|
|
"updater": {
|
|
"pubkey": "dW50cnVzdGVkIGNvbW1lbnQ6IG1pbmlzaWduIHB1YmxpYyBrZXk6IDJFNDEzMEVCMUEzNUFENDQKUldSRXJUVWE2ekJCTGc1Mm1BVXgrWmtES3huUlBFR0lCdG5qbWFvMzgyNDhGN3VTTko5Q1NtTW0K",
|
|
"endpoints": [
|
|
"https://github.com/menloresearch/jan/releases/latest/download/latest.json"
|
|
],
|
|
"windows": {
|
|
"installMode": "passive"
|
|
}
|
|
}
|
|
},
|
|
"bundle": {
|
|
"active": true,
|
|
"targets": ["nsis", "app", "dmg", "deb", "appimage"],
|
|
"createUpdaterArtifacts": false,
|
|
"icon": [
|
|
"icons/32x32.png",
|
|
"icons/128x128.png",
|
|
"icons/128x128@2x.png",
|
|
"icons/icon.icns",
|
|
"icons/icon.ico"
|
|
],
|
|
"resources": [
|
|
"binaries/engines/**/*",
|
|
"resources/pre-install/**/*",
|
|
"resources/lib/"
|
|
],
|
|
"externalBin": [
|
|
"binaries/cortex-server",
|
|
"resources/bin/bun",
|
|
"resources/bin/uv"
|
|
],
|
|
"linux": {
|
|
"appimage": {
|
|
"bundleMediaFramework": false,
|
|
"files": {}
|
|
},
|
|
"deb": {
|
|
"files": {
|
|
"usr/bin/bun": "resources/bin/bun",
|
|
"usr/lib/Jan/binaries": "binaries/deps",
|
|
"usr/lib/Jan/binaries/engines": "binaries/engines"
|
|
}
|
|
}
|
|
},
|
|
"windows": {
|
|
"signCommand": "powershell -ExecutionPolicy Bypass -File ./sign.ps1 %1"
|
|
}
|
|
}
|
|
}
|