mirror of
https://github.com/remvze/moodist.git
synced 2025-12-18 17:34:17 +00:00
- Add `bun run` equivalents for npm scripts in README commands section - Include Tauri development and build commands for desktop and mobile platforms - Add `bun.lock` file for package locking with Bun package manager
16 lines
417 B
Rust
16 lines
417 B
Rust
#[cfg_attr(mobile, tauri::mobile_entry_point)]
|
|
pub fn run() {
|
|
tauri::Builder::default()
|
|
.setup(|app| {
|
|
if cfg!(debug_assertions) {
|
|
app.handle().plugin(
|
|
tauri_plugin_log::Builder::default()
|
|
.level(log::LevelFilter::Info)
|
|
.build(),
|
|
)?;
|
|
}
|
|
Ok(())
|
|
})
|
|
.run(tauri::generate_context!())
|
|
.expect("error while running tauri application");
|
|
}
|