Files
proxycast/src-tauri/tauri.conf.json
T
coso e652f072d0 feat(claude-oauth): 添加 Cookie 自动授权功能
- 新增 Cookie 自动授权模式,用户可通过浏览器 sessionKey 完成授权
- 支持三种授权方式:Cookie 授权(默认)、OAuth 登录、文件导入
- 参考 claude-relay-service 实现

closes #38
2025-12-24 23:21:58 +08:00

48 lines
1.2 KiB
JSON

{
"$schema": "https://schema.tauri.app/config/2",
"productName": "ProxyCast",
"version": "0.17.6",
"identifier": "com.proxycast.app",
"build": {
"beforeDevCommand": "npm run dev",
"devUrl": "http://localhost:1420",
"beforeBuildCommand": "npm run build",
"frontendDist": "../dist"
},
"app": {
"withGlobalTauri": true,
"windows": [
{
"title": "ProxyCast",
"width": 1000,
"height": 700,
"resizable": true,
"fullscreen": false
}
],
"security": {
"csp": "default-src 'self'; img-src 'self' data:; style-src 'self' 'unsafe-inline'; script-src 'self' 'unsafe-inline'; connect-src 'self' http://localhost:* ws://localhost:* http://127.0.0.1:* ws://127.0.0.1:* http://[::1]:* ws://[::1]:*; frame-src 'none'; object-src 'none'"
}
},
"bundle": {
"active": true,
"targets": "all",
"icon": [
"icons/32x32.png",
"icons/128x128.png",
"icons/128x128@2x.png",
"icons/icon.icns",
"icons/icon.ico"
],
"resources": [
"icons/tray/*",
"../scripts/playwright-login/**/*"
]
},
"plugins": {
"shell": {
"open": true
}
}
}