This commit is contained in:
Mystikfluu 2023-04-03 12:36:07 +02:00
parent dfe2aec636
commit c09e478ffd
5 changed files with 10 additions and 15 deletions

2
src-tauri/Cargo.lock generated
View File

@ -1339,7 +1339,7 @@ dependencies = [
[[package]]
name = "ipass-gui"
version = "0.1.0"
version = "1.0.0"
dependencies = [
"ip_lib",
"open",

View File

@ -1,6 +1,6 @@
[package]
name = "ipass-gui"
version = "0.1.0"
version = "1.0.0"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

View File

@ -1,5 +1,5 @@
#![cfg_attr(
all(not(debug_assertions), target_os = "linux"),
all(not(debug_assertions), target_os = "windows"),
windows_subsystem = "windows"
)]
@ -94,8 +94,8 @@ fn isync_save() {
let isync_save_future = ip_lib::isync_save();
let rt = Runtime::new().unwrap();
let save_output = rt.block_on(isync_save_future);
println!("isync_save: {}",save_output);
let _save_output = rt.block_on(isync_save_future);
//println!("isync_save: {}",save_output);
}
#[tauri::command]
@ -104,9 +104,9 @@ fn sync_isync() {
let isync_get_future = ip_lib::isync_get();
println!("going to block on isync_get");
let get_output = rt.block_on(isync_get_future);
println!("isync_get: {}",get_output);
//println!("going to block on isync_get");
let _get_output = rt.block_on(isync_get_future);
//println!("isync_get: {}",get_output);
}
fn main() {

View File

@ -8,7 +8,7 @@
},
"package": {
"productName": "ipass",
"version": "0.1.0"
"version": "1.0.0"
},
"tauri": {
"allowlist": {

View File

@ -3,11 +3,6 @@ const { invoke } = window.__TAURI__.tauri;
let master_pw;
let lock_status = true;
// async function greet() {
// // Learn more about Tauri commands at https://tauri.app/v1/guides/features/command
// greetMsgEl.textContent = await invoke("greet", { name: greetInputEl.value });
// }
window.addEventListener("DOMContentLoaded", () => {
document.getElementById("lockImg").addEventListener("click",toggleLock);
startup();