fix(ios): fully working mobile versions
fix fix fix testing testing fix
This commit is contained in:
@@ -1,6 +1,3 @@
|
||||
#[cfg(any(target_os = "linux", target_os = "macos", target_os = "windows"))]
|
||||
mod window;
|
||||
|
||||
#[cfg(any(target_os = "linux", target_os = "macos", target_os = "windows"))]
|
||||
mod screenshot;
|
||||
|
||||
@@ -9,16 +6,14 @@ mod commands;
|
||||
|
||||
#[cfg(any(target_os = "linux", target_os = "macos", target_os = "windows"))]
|
||||
mod shortcut;
|
||||
#[cfg(any(target_os = "linux", target_os = "macos", target_os = "windows"))]
|
||||
mod state;
|
||||
|
||||
#[cfg(any(target_os = "linux", target_os = "macos", target_os = "windows"))]
|
||||
mod utils;
|
||||
|
||||
#[cfg(any(target_os = "linux", target_os = "macos", target_os = "windows"))]
|
||||
use state::new_shared_watcher_state;
|
||||
mod state;
|
||||
mod window;
|
||||
|
||||
#[cfg(any(target_os = "linux", target_os = "macos", target_os = "windows"))]
|
||||
use state::new_shared_watcher_state;
|
||||
use window::setup_window;
|
||||
|
||||
#[cfg(any(target_os = "linux", target_os = "macos", target_os = "windows"))]
|
||||
@@ -58,12 +53,14 @@ pub fn desktop() {
|
||||
#[cfg(any(target_os = "ios", target_os = "android"))]
|
||||
pub fn android() {
|
||||
tauri::Builder::default()
|
||||
//.plugin(tauri_plugin_fs::init())
|
||||
//.plugin(tauri_plugin_store::Builder::new().build())
|
||||
//.plugin(tauri_plugin_http::init())
|
||||
.plugin(tauri_plugin_os::init())
|
||||
.plugin(tauri_plugin_fs::init())
|
||||
.plugin(tauri_plugin_store::Builder::new().build())
|
||||
.plugin(tauri_plugin_http::init())
|
||||
//.plugin(tauri_plugin_sharetarget::init())
|
||||
.setup(|app| {
|
||||
// setup_window(app)?;
|
||||
log::info!("running things!");
|
||||
setup_window(app)?;
|
||||
|
||||
Ok(())
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user