mirror of
https://github.com/yuhkix/wuwa-downloader.git
synced 2025-06-06 17:53:44 +00:00
very minor change
This commit is contained in:
parent
31979bc66e
commit
ef9cbad14a
1 changed files with 2 additions and 1 deletions
|
@ -2,7 +2,7 @@ use colored::Colorize;
|
||||||
use flate2::read::GzDecoder;
|
use flate2::read::GzDecoder;
|
||||||
use reqwest::blocking::Client;
|
use reqwest::blocking::Client;
|
||||||
use serde_json::{from_reader, from_str, Value};
|
use serde_json::{from_reader, from_str, Value};
|
||||||
use winconsole::console::{self};
|
use winconsole::console::{self, clear};
|
||||||
use std::{io::{Read, Write}, fs, io, path::Path, time::Duration};
|
use std::{io::{Read, Write}, fs, io, path::Path, time::Duration};
|
||||||
|
|
||||||
use crate::config::cfg::Config;
|
use crate::config::cfg::Config;
|
||||||
|
@ -293,6 +293,7 @@ fn download_single_file(
|
||||||
|
|
||||||
pub fn get_config(client: &Client) -> Result<Config, String> {
|
pub fn get_config(client: &Client) -> Result<Config, String> {
|
||||||
let selected_index_url = fetch_gist(client)?;
|
let selected_index_url = fetch_gist(client)?;
|
||||||
|
clear().unwrap();
|
||||||
println!("{} Fetching download configuration...", Status::info());
|
println!("{} Fetching download configuration...", Status::info());
|
||||||
|
|
||||||
let mut response = client
|
let mut response = client
|
||||||
|
|
Loading…
Reference in a new issue