补充。
This commit is contained in:
@@ -2,4 +2,5 @@ cmake_minimum_required(VERSION 3.16)
|
||||
|
||||
project(use_tdl LANGUAGES CXX)
|
||||
|
||||
add_executable(use_tdl main.cpp)
|
||||
add_executable(use_tdl main.cpp)
|
||||
target_link_libraries(use_tdl PRIVATE zoost)
|
||||
@@ -9,7 +9,9 @@
|
||||
#include <string>
|
||||
#include <thread>
|
||||
#include <vector>
|
||||
#include <zoost/zoost.h>
|
||||
|
||||
using namespace zoost;
|
||||
namespace fs = std::filesystem;
|
||||
|
||||
struct Args {
|
||||
@@ -98,6 +100,8 @@ int download_with_retry(const Args& args)
|
||||
|
||||
int main(int argc, char** argv)
|
||||
{
|
||||
Common::SetOutputU8();
|
||||
|
||||
Args args;
|
||||
|
||||
CLI::App app{"简单的下载器包装工具"};
|
||||
|
||||
Reference in New Issue
Block a user