Search/Replace for dragonx
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
[package]
|
||||
name = "silentdragonlite-cli"
|
||||
name = "silentdragonxlite-cli"
|
||||
version = "1.1.1"
|
||||
edition = "2018"
|
||||
|
||||
@@ -14,5 +14,5 @@ http = "0.2"
|
||||
byteorder = "1"
|
||||
tiny-bip39 = "0.6.2"
|
||||
|
||||
silentdragonlitelib = { path = "../lib/" }
|
||||
silentdragonxlitelib = { path = "../lib/" }
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@ use std::sync::mpsc::{channel, Sender, Receiver};
|
||||
|
||||
use log::{info, error};
|
||||
|
||||
use silentdragonlitelib::{commands,
|
||||
use silentdragonxlitelib::{commands,
|
||||
lightclient::{LightClient, LightClientConfig},
|
||||
};
|
||||
|
||||
@@ -69,11 +69,11 @@ pub fn report_permission_error() {
|
||||
eprintln!("HOME: {}", home);
|
||||
eprintln!("Executable: {}", current_executable.display());
|
||||
if home == "/" {
|
||||
eprintln!("User {} must have permission to write to '{}.silentdragonlite/' .",
|
||||
eprintln!("User {} must have permission to write to '{}.silentdragonxlite/' .",
|
||||
user,
|
||||
home);
|
||||
} else {
|
||||
eprintln!("User {} must have permission to write to '{}/.silentdragonlite/' .",
|
||||
eprintln!("User {} must have permission to write to '{}/.silentdragonxlite/' .",
|
||||
user,
|
||||
home);
|
||||
}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
use silentdragonlitelib::lightclient::{self, LightClientConfig};
|
||||
use silentdragonlite_cli::{configure_clapapp,
|
||||
use silentdragonxlitelib::lightclient::{self, LightClientConfig};
|
||||
use silentdragonxlite_cli::{configure_clapapp,
|
||||
report_permission_error,
|
||||
startup,
|
||||
start_interactive,
|
||||
@@ -10,7 +10,7 @@ use log::error;
|
||||
pub fn main() {
|
||||
// Get command line arguments
|
||||
use clap::{App, Arg};
|
||||
let fresh_app = App::new("SilentDragonLite CLI");
|
||||
let fresh_app = App::new("SilentDragonXLite CLI");
|
||||
let configured_app = configure_clapapp!(fresh_app);
|
||||
let matches = configured_app.get_matches();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user