chore: removing submodule of forked version of sharetarget
This commit is contained in:
@@ -20,12 +20,13 @@ use window::setup_window;
|
||||
pub fn desktop() {
|
||||
let watcher_state = new_shared_watcher_state();
|
||||
|
||||
tauri::Builder::default()
|
||||
let bruh = tauri::Builder::default()
|
||||
.plugin(tauri_plugin_os::init())
|
||||
.plugin(tauri_plugin_log::Builder::new().build())
|
||||
.plugin(tauri_plugin_fs::init())
|
||||
.plugin(tauri_plugin_store::Builder::new().build())
|
||||
.plugin(tauri_plugin_http::init())
|
||||
.plugin(tauri_plugin_store::Builder::new().build());
|
||||
|
||||
bruh.plugin(tauri_plugin_http::init())
|
||||
.manage(watcher_state)
|
||||
.invoke_handler(tauri::generate_handler![
|
||||
commands::handle_selected_folder,
|
||||
@@ -50,13 +51,17 @@ pub fn desktop() {
|
||||
#[cfg_attr(mobile, tauri::mobile_entry_point)]
|
||||
#[cfg(any(target_os = "ios", target_os = "android"))]
|
||||
pub fn android() {
|
||||
tauri::Builder::default()
|
||||
let common_builder = tauri::Builder::default()
|
||||
.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())
|
||||
.plugin(tauri_plugin_ios_shared_token::init())
|
||||
.plugin(tauri_plugin_sharetarget::init());
|
||||
|
||||
#[cfg(any(target_os = "ios"))]
|
||||
common_builder.plugin(tauri_plugin_ios_shared_token::init());
|
||||
|
||||
common_builder
|
||||
.setup(|app| {
|
||||
log::info!("running things!");
|
||||
setup_window(app)?;
|
||||
|
||||
Reference in New Issue
Block a user