[Add] Correct impl of Iota updater & Move of language creation in main
This commit is contained in:
parent
eff1c019a8
commit
a60ea3d5d2
4 changed files with 43 additions and 64 deletions
|
|
@ -1,5 +1,5 @@
|
|||
mod consent_state;
|
||||
use iota_util::update_util::check_update;
|
||||
use iota_updater::check_update;
|
||||
use pnet::datalink::NetworkInterface;
|
||||
use tokio::time::{Duration, sleep};
|
||||
|
||||
|
|
@ -7,12 +7,11 @@ use iota_state::{ACTIVE_TASKS, APP_STATE, AppState, RELOAD, SHUTDOWN};
|
|||
|
||||
use iota_cli::screens::main_screen::MainScreen;
|
||||
use iota_cli::ui::start_tui;
|
||||
use iota_logger as logger;
|
||||
use iota_logger::{self as logger, language_creator};
|
||||
use iota_logger::{log, log_t};
|
||||
use iota_storage::users::user_manager;
|
||||
use iota_storage::util::config_util::CONFIG;
|
||||
use iota_util::file_util::{download_and_extract_zip, has_dir};
|
||||
use iota_util::langu::language_creator;
|
||||
use omikron_connector as omikron;
|
||||
|
||||
#[tokio::main(flavor = "multi_thread", worker_threads = 16)]
|
||||
|
|
|
|||
Loading…
Reference in a new issue