- Changed default feature to include 'desktop' in Cargo.toml - Replaced --noui flag with --desktop flag in launch.json - Added Tauri desktop mode implementation in main.rs - Simplified command line argument handling - Cleaned up code formatting in main.rs The changes introduce a new mode for running the application as a desktop app using Tauri framework, while maintaining the existing server functionality. The desktop mode loads a webview window with a specific HTML interface.
20 lines
339 B
JSON
20 lines
339 B
JSON
{
|
|
"$schema": "https://schema.tauri.app/config/2",
|
|
"productName": "General Bots",
|
|
"version": "6.0.8",
|
|
"identifier": "br.com.pragmatismo",
|
|
"build": {
|
|
"frontendDist": "./web/desktop"
|
|
},
|
|
"app": {
|
|
"security": {
|
|
"csp": null
|
|
}
|
|
},
|
|
"bundle": {
|
|
"active": true,
|
|
"targets": "all",
|
|
"icon": [
|
|
]
|
|
}
|
|
}
|