diff --git a/src/main.rs b/src/main.rs index 8b62f1a..8289ebd 100644 --- a/src/main.rs +++ b/src/main.rs @@ -109,6 +109,9 @@ fn run_interface(context: Arc>, miner: Arc>) { } true }); + let eval = format!("keystoreChanged('{}', '{}');", c.keystore.get_path(), &c.keystore.get_public().to_string()); + println!("Evaluating {}", &eval); + web_view.eval(&eval.replace("\\", "\\\\")).expect("Error evaluating!"); } LoadKey {} => { let result = tfd::open_file_dialog("Open keys file", "", Some((&["*.key"], "*.key"))); diff --git a/src/webview/index.html b/src/webview/index.html index 7367123..9a02ad8 100644 --- a/src/webview/index.html +++ b/src/webview/index.html @@ -63,8 +63,8 @@
- -

00000050C9516C42946D38EDD6A2DB1279F6E73E9C6D2EA6769A5C2BA3E381D6

+ +

Not loaded