mirror of
https://github.com/creating2morrow/neveko.git
synced 2024-12-22 19:49:24 +00:00
ignore advanced values from gui in normal mode
This commit is contained in:
parent
37bcf5a615
commit
da3d180e36
3 changed files with 41 additions and 35 deletions
|
@ -25,8 +25,8 @@ NEVidebla-EKOnomia (invisible economy)
|
||||||
* `sudo apt install -y libssl-dev build-essential libgpgme-dev`
|
* `sudo apt install -y libssl-dev build-essential libgpgme-dev`
|
||||||
* `git clone https://github.com/creating2morrow/neveko`
|
* `git clone https://github.com/creating2morrow/neveko`
|
||||||
* `cd neveko && ./scripts/build_all_and_run.sh "-- -h"`
|
* `cd neveko && ./scripts/build_all_and_run.sh "-- -h"`
|
||||||
* Example to start neveko with remote stagenet node for development:
|
* Example to start neveko with remote stagenet node / i2p proxy remote for development:
|
||||||
* `./scripts/build_all_and_run.sh "-- --monero-rpc-daemon http://stagenet.community.rino.io:38081 --remote-node --monero-location /path/to/monero-x86_64-linux-gnu-v0.18.2.2/ --i2p-zero-dir /path/to/i2p-zero-linux.v1.21/"`
|
* `./scripts/build_all_and_run.sh "-- --monero-rpc-daemon http://stagenet.community.rino.io:38081 --remote-node --monero-location /path/to/monero-x86_64-linux-gnu-v0.18.2.2/ --i2p-proxy-host x.x.x.x:port --i2p-tunnels-json /path/to/manual-i2p/config/ --i2p-advanced`
|
||||||
* the `--monero-location` flag is needed even when using a remote node because
|
* the `--monero-location` flag is needed even when using a remote node because
|
||||||
neveko has its own monero-wallet-rpc instance
|
neveko has its own monero-wallet-rpc instance
|
||||||
* gui built with rust [egui](https://docs.rs/egui/latest/egui/)
|
* gui built with rust [egui](https://docs.rs/egui/latest/egui/)
|
||||||
|
|
|
@ -28,8 +28,8 @@ B -> http://c2m66oddrzozztxyzjegbdwtgbeiibq5vz2tpchmqamrzcahcfoq.b32.i2p
|
||||||
- /pgp.txt - public gpg signing key
|
- /pgp.txt - public gpg signing key
|
||||||
- /index.txt - this page
|
- /index.txt - this page
|
||||||
- /canary.txt
|
- /canary.txt
|
||||||
- /download/neveko-x86_64-linux-gnu-v0.4.1-alpha.tar.bz2 - latest neveko download
|
- /download/neveko-x86_64-linux-gnu-v0.4.2-alpha.tar.bz2 - latest neveko download
|
||||||
- /download/neveko-x86_64-linux-gnu-v0.4.1-alpha.tar.bz2.sig - detached sig
|
- /download/neveko-x86_64-linux-gnu-v0.4.2-alpha.tar.bz2.sig - detached sig
|
||||||
|
|
||||||
NEVEKO Links (Clear)
|
NEVEKO Links (Clear)
|
||||||
|
|
||||||
|
@ -38,9 +38,9 @@ NEVEKO Links (Clear)
|
||||||
git clone https://github.com/creating2morrow/neveko.git
|
git clone https://github.com/creating2morrow/neveko.git
|
||||||
-----BEGIN PGP SIGNATURE-----
|
-----BEGIN PGP SIGNATURE-----
|
||||||
|
|
||||||
iJIEARYKADoWIQQEoRcoLQbE3ctKJgFaPK5QG49jTAUCZI/cIRwcY3JlYXRpbmdf
|
iJIEARYKADoWIQQEoRcoLQbE3ctKJgFaPK5QG49jTAUCZJIw9xwcY3JlYXRpbmdf
|
||||||
dG9tb3Jyb3dAcHJvdG9uLm1lAAoJEFo8rlAbj2NMcGoA/3k4+EoTAHAdUNUDB1oW
|
dG9tb3Jyb3dAcHJvdG9uLm1lAAoJEFo8rlAbj2NM8moA/jvYnAos9hU3NKv6lzUn
|
||||||
gmbYCOJIEuXoksSmQeSgSvX2AP4iQ2a15s+/Y7Gn0HGMylq3EA6QKC2DPFANYT5L
|
37Q6iQupJMEUM8GVaodM+NLGAQDdSWbC/wM3VxnCRxWO8DE5bcbu9jlBfUb1QJmI
|
||||||
EC0vAg==
|
DM+wAQ==
|
||||||
=vZ7T
|
=zCby
|
||||||
-----END PGP SIGNATURE-----
|
-----END PGP SIGNATURE-----
|
||||||
|
|
|
@ -256,21 +256,25 @@ impl eframe::App for HomeApp {
|
||||||
ui.text_edit_singleline(&mut self.connections.monero_location)
|
ui.text_edit_singleline(&mut self.connections.monero_location)
|
||||||
.labelled_by(cm_xmr_dir_label.id);
|
.labelled_by(cm_xmr_dir_label.id);
|
||||||
});
|
});
|
||||||
ui.horizontal(|ui| {
|
if !self.connections.is_i2p_advanced {
|
||||||
let cm_i2p_dir_label = ui.label("i2p-zero path: \t");
|
ui.horizontal(|ui| {
|
||||||
ui.text_edit_singleline(&mut self.connections.i2p_zero_dir)
|
let cm_i2p_dir_label = ui.label("i2p-zero path: \t");
|
||||||
.labelled_by(cm_i2p_dir_label.id);
|
ui.text_edit_singleline(&mut self.connections.i2p_zero_dir)
|
||||||
});
|
.labelled_by(cm_i2p_dir_label.id);
|
||||||
ui.horizontal(|ui| {
|
});
|
||||||
let cm_i2p_proxy_label = ui.label("i2p proxy host: \t");
|
}
|
||||||
ui.text_edit_singleline(&mut self.connections.i2p_proxy_host)
|
if self.connections.is_i2p_advanced {
|
||||||
.labelled_by(cm_i2p_proxy_label.id);
|
ui.horizontal(|ui| {
|
||||||
});
|
let cm_i2p_proxy_label = ui.label("i2p proxy host: \t");
|
||||||
ui.horizontal(|ui| {
|
ui.text_edit_singleline(&mut self.connections.i2p_proxy_host)
|
||||||
let cm_i2p_tunnels_label = ui.label("tunnels.json dir: ");
|
.labelled_by(cm_i2p_proxy_label.id);
|
||||||
ui.text_edit_singleline(&mut self.connections.i2p_tunnels_json)
|
});
|
||||||
.labelled_by(cm_i2p_tunnels_label.id);
|
ui.horizontal(|ui| {
|
||||||
});
|
let cm_i2p_tunnels_label = ui.label("tunnels.json dir: ");
|
||||||
|
ui.text_edit_singleline(&mut self.connections.i2p_tunnels_json)
|
||||||
|
.labelled_by(cm_i2p_tunnels_label.id);
|
||||||
|
});
|
||||||
|
}
|
||||||
let mut is_remote_node = self.connections.is_remote_node;
|
let mut is_remote_node = self.connections.is_remote_node;
|
||||||
if ui.checkbox(&mut is_remote_node, "remote node").changed() {
|
if ui.checkbox(&mut is_remote_node, "remote node").changed() {
|
||||||
self.connections.is_remote_node = !self.connections.is_remote_node;
|
self.connections.is_remote_node = !self.connections.is_remote_node;
|
||||||
|
@ -293,16 +297,18 @@ impl eframe::App for HomeApp {
|
||||||
self.is_editing_connections = false;
|
self.is_editing_connections = false;
|
||||||
utils::kill_child_processes(true);
|
utils::kill_child_processes(true);
|
||||||
utils::start_core(&self.connections);
|
utils::start_core(&self.connections);
|
||||||
// set the i2p proxy host for advanced user re-use
|
if self.connections.is_i2p_advanced {
|
||||||
std::env::set_var(
|
// set the i2p proxy host for advanced user re-use
|
||||||
neveko_core::NEVEKO_I2P_PROXY_HOST,
|
std::env::set_var(
|
||||||
self.connections.i2p_proxy_host.clone(),
|
neveko_core::NEVEKO_I2P_PROXY_HOST,
|
||||||
);
|
self.connections.i2p_proxy_host.clone(),
|
||||||
std::env::set_var(
|
);
|
||||||
neveko_core::NEVEKO_I2P_TUNNELS_JSON,
|
std::env::set_var(
|
||||||
self.connections.i2p_tunnels_json.clone(),
|
neveko_core::NEVEKO_I2P_TUNNELS_JSON,
|
||||||
);
|
self.connections.i2p_tunnels_json.clone(),
|
||||||
std::env::set_var(neveko_core::NEVEKO_I2P_ADVANCED_MODE, String::from("1"));
|
);
|
||||||
|
std::env::set_var(neveko_core::NEVEKO_I2P_ADVANCED_MODE, String::from("1"));
|
||||||
|
}
|
||||||
self.is_loading = true;
|
self.is_loading = true;
|
||||||
start_core_timeout(self.core_timeout_tx.clone(), ctx.clone());
|
start_core_timeout(self.core_timeout_tx.clone(), ctx.clone());
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue