feat: working android dev environment
This commit is contained in:
@@ -11,12 +11,13 @@ pub fn run() {
|
||||
let watcher_state = new_shared_watcher_state();
|
||||
|
||||
tauri::Builder::default()
|
||||
.plugin(tauri_plugin_log::Builder::new().build())
|
||||
.plugin(tauri_plugin_store::Builder::new().build())
|
||||
.plugin(tauri_plugin_http::init())
|
||||
// .plugin(tauri_plugin_dialog::init())
|
||||
// .plugin(tauri_plugin_opener::init())
|
||||
.manage(watcher_state)
|
||||
.invoke_handler(tauri::generate_handler![commands::handle_selected_folder,])
|
||||
// .manage(watcher_state)
|
||||
// .invoke_handler(tauri::generate_handler![commands::handle_selected_folder,])
|
||||
.setup(|app| {
|
||||
setup_window(app)?;
|
||||
|
||||
|
||||
@@ -31,7 +31,6 @@ pub fn setup_window(app: &mut App) -> Result<(), Box<dyn std::error::Error>> {
|
||||
}
|
||||
}
|
||||
|
||||
#[cfg(target_os = "linux")]
|
||||
{
|
||||
win_builder.build().unwrap();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user