* wip.... bun installer * - warn on incompatible versions - clean up some logs - add coloring to log levels * add toasts to desktop/mobile * Auto open simulators * auto boot android * preserve url * pull out some of the warnings * add self-updater * wip: mcp * add install.sh and adjust binstall path * add some cuter styling to logs! * update "input.css" * update other input.css * style a bit more * change getting started * add windows installer * move dioxus-mobile into dioxus-desktop add sentry wip to cli * shorten timeout of toast * fix cli display * wire up customization of android manifest * udid is a real word * add 429 to lychee cache * accept all 200-204 and 429
21 lines
610 B
Rust
21 lines
610 B
Rust
#![doc = include_str!("../README.md")]
|
|
#![doc(html_logo_url = "https://avatars.githubusercontent.com/u/79236386")]
|
|
#![doc(html_favicon_url = "https://avatars.githubusercontent.com/u/79236386")]
|
|
|
|
pub use dioxus_desktop::*;
|
|
use dioxus_lib::prelude::*;
|
|
use std::any::Any;
|
|
|
|
/// Launch via the binding API
|
|
pub fn launch(root: fn() -> Element) {
|
|
launch_cfg(root, vec![], vec![]);
|
|
}
|
|
|
|
pub fn launch_cfg(
|
|
root: fn() -> Element,
|
|
contexts: Vec<Box<dyn Fn() -> Box<dyn Any> + Send + Sync>>,
|
|
platform_config: Vec<Box<dyn Any>>,
|
|
) {
|
|
dioxus_desktop::launch::launch_cfg(root, contexts, platform_config);
|
|
}
|