From 3d4c735cbdc3ca0f678e94e1cad301c61ec8a33b Mon Sep 17 00:00:00 2001 From: Niko PLP Date: Sat, 19 Aug 2023 04:40:56 +0300 Subject: [PATCH] new dist.tar for ngaccount --- ng-app/src-tauri/src/lib.rs | 2 +- ng-app/src/routes/WalletCreate.svelte | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/ng-app/src-tauri/src/lib.rs b/ng-app/src-tauri/src/lib.rs index 0abca53..bb9b160 100644 --- a/ng-app/src-tauri/src/lib.rs +++ b/ng-app/src-tauri/src/lib.rs @@ -215,7 +215,7 @@ async fn open_window( ) -> Result<(), ()> { log_debug!("open window url {:?}", url); let already_exists = app.get_window(&label); - //#[cfg(desktop)] + #[cfg(desktop)] if already_exists.is_some() { let _ = already_exists.unwrap().close(); std::thread::sleep(std::time::Duration::from_secs(1)); diff --git a/ng-app/src/routes/WalletCreate.svelte b/ng-app/src/routes/WalletCreate.svelte index 265da00..874be49 100644 --- a/ng-app/src/routes/WalletCreate.svelte +++ b/ng-app/src/routes/WalletCreate.svelte @@ -281,7 +281,6 @@ }); const select_bsp = async (bsp_url, bsp_name) => { - console.log("tauri_platform",tauri_platform); if (!tauri_platform || tauri_platform == "android") { let redirect_url; if (tauri_platform) {