Add desktop as winit window example

This commit is contained in:
Jeremy Soller 2024-10-04 09:58:47 -06:00
parent 89adf0682d
commit 2989fb8519
No known key found for this signature in database
GPG key ID: D02FD439211AF56F

4
examples/desktop.rs Normal file
View file

@ -0,0 +1,4 @@
// This launches the desktop mode as a regular window for easier testing.
fn main() -> Result<(), Box<dyn std::error::Error>> {
cosmic_files::desktop()
}