botserver/build.rs
Rodrigo Rodriguez (Pragmatismo) 73805c4a98 feat(desktop): add desktop mode support with Tauri integration
- 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.
2025-11-14 16:54:55 -03:00

5 lines
142 B
Rust

// build.rs
fn main() {
// Tauri build script to generate the context required by `tauri::generate_context!()`
tauri_build::build()
}