mirror of
https://github.com/tinyhumansai/openhuman.git
synced 2026-07-30 23:14:37 +00:00
- Replaced the favicon in index.html with a new alpha.svg icon. - Enhanced package.json with new macOS-specific build and run scripts for Tauri. - Added a comprehensive macOS background execution implementation, including a system tray menu and autostart functionality. - Updated Tauri configuration to support tray icon and macOS private API features. - Introduced new capabilities for autostart and tray management in the application. This update improves the user experience on macOS by providing a seamless background execution feature and a visually updated application icon.
56 lines
1.1 KiB
JSON
56 lines
1.1 KiB
JSON
{
|
|
"$schema": "https://schema.tauri.app/config/2",
|
|
"productName": "AlphaHuman",
|
|
"version": "0.1.0",
|
|
"identifier": "com.megamind.tauri-app",
|
|
"build": {
|
|
"beforeDevCommand": "npm run dev",
|
|
"devUrl": "http://localhost:1420",
|
|
"beforeBuildCommand": "npm run build",
|
|
"frontendDist": "../dist"
|
|
},
|
|
"app": {
|
|
"windows": [
|
|
{
|
|
"label": "main",
|
|
"title": "AlphaHuman",
|
|
"width": 800,
|
|
"height": 600,
|
|
"visible": false,
|
|
"decorations": true,
|
|
"resizable": true,
|
|
"center": true
|
|
}
|
|
],
|
|
"security": {
|
|
"csp": null
|
|
},
|
|
"trayIcon": {
|
|
"id": "main-tray",
|
|
"iconPath": "icons/32x32.png",
|
|
"iconAsTemplate": false,
|
|
"menuOnLeftClick": false,
|
|
"tooltip": "AlphaHuman"
|
|
},
|
|
"macOSPrivateApi": true
|
|
},
|
|
"bundle": {
|
|
"active": true,
|
|
"targets": "all",
|
|
"icon": [
|
|
"icons/32x32.png",
|
|
"icons/128x128.png",
|
|
"icons/128x128@2x.png",
|
|
"icons/icon.icns",
|
|
"icons/icon.ico"
|
|
]
|
|
},
|
|
"plugins": {
|
|
"deep-link": {
|
|
"desktop": {
|
|
"schemes": ["outsourced"]
|
|
}
|
|
}
|
|
}
|
|
}
|