23 lines
646 B
Rust
23 lines
646 B
Rust
#[cfg(target_os = "android")]
|
|
mod android;
|
|
#[cfg(not(any(target_os = "android", target_os = "ios")))]
|
|
mod desktop;
|
|
#[cfg(target_os = "ios")]
|
|
mod ios;
|
|
#[cfg(not(any(target_os = "android", target_os = "ios")))]
|
|
mod locale;
|
|
#[cfg(not(any(target_os = "android", target_os = "ios")))]
|
|
mod server;
|
|
|
|
#[cfg(target_os = "android")]
|
|
pub use android::{builder, context};
|
|
#[cfg(not(any(target_os = "android", target_os = "ios")))]
|
|
pub use desktop::{builder, context};
|
|
#[cfg(target_os = "ios")]
|
|
pub use ios::{builder, context};
|
|
|
|
#[cfg_attr(mobile, tauri::mobile_entry_point)]
|
|
pub fn run() {
|
|
builder().run(context()).expect("Could not start KanbanGit");
|
|
}
|