Files
coco-app/src-tauri/tauri.conf.json
BiggerRain 2b848f0297 Modify background and adaptive window height issues (#28)
* chore: deatil page ui

* chore: fix backgroud & auto height
2024-11-29 14:46:03 +08:00

97 lines
2.1 KiB
JSON

{
"$schema": "https://schema.tauri.app/config/2.0.0",
"productName": "Coco AI",
"version": "0.1.0",
"identifier": "rs.coco.app",
"build": {
"beforeDevCommand": "pnpm dev",
"devUrl": "http://localhost:1420",
"beforeBuildCommand": "pnpm build",
"frontendDist": "../dist"
},
"app": {
"macOSPrivateApi": true,
"windows": [
{
"acceptFirstMouse": true,
"alwaysOnBottom": false,
"alwaysOnTop": false,
"center": false,
"closable": true,
"contentProtected": false,
"create": true,
"decorations": false,
"dragDropEnabled": true,
"focus": true,
"fullscreen": false,
"height": 90,
"maxHeight": 596,
"minHeight": 90,
"width": 680,
"maxWidth": 680,
"minWidth": 680,
"hiddenTitle": false,
"incognito": false,
"label": "main",
"maximizable": false,
"minimizable": true,
"maximized": false,
"proxyUrl": "http://localhost:2900",
"resizable": true,
"shadow": true,
"skipTaskbar": false,
"theme": null,
"title": "Coco AI",
"transparent": true,
"url": "/ui",
"visible": true,
"visibleOnAllWorkspaces": true,
"windowEffects": {
"effects": [],
"radius": 20
},
"x": null,
"y": null,
"zoomHotkeysEnabled": false
}
],
"security": {
"csp": null
}
},
"bundle": {
"active": true,
"targets": "all",
"windows": {
"certificateThumbprint": null,
"digestAlgorithm": "sha256",
"timestampUrl": ""
},
"icon": [
"icons/32x32.png",
"icons/128x128.png",
"icons/128x128@2x.png",
"icons/icon.icns",
"icons/icon.ico"
],
"macOS": {
"entitlements": "./Entitlements.plist",
"dmg": {
"appPosition": {
"x": 180,
"y": 140
},
"applicationFolderPosition": {
"x": 480,
"y": 140
}
}
}
},
"plugins": {
"window": {},
"websocket": {},
"shell": {}
}
}